>- see footer for list info -<
Gordon, Using Javascript to insert the flash object is pretty common as it helps get around the whole have to click first to activate the control, we use it on sites where in general they don't use too much javascript. Unless I'm missing something you could just replace the code with the standard flash object code and then use the following
Snip........... <cfoutput> <EMBED src="flvplayer.swf?nameofparameter=#variables.myVar#" ....Snip </cfoutput> HTH Alex -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gordon Burns Sent: 16 August 2006 22:12 To: Coldfusion Development Subject: [CF-Dev] JS variable to CF variable >- see footer for list info -< I am having to change some code written by another that is using java script to pass the variable. I want to change this to use a CF variable to replace the JS and '+document.location.search+' etc Can some kind JS expert help me. I am going round in circles. We can not use JS in this application and anyway if I am looking after it I need it to be fixable by me! Which at the moment is defiantly is not. If this is not simple please say so and It can go elsewhere, it will just delay me somw what with completing the development. If it is simple any assistance would be great. Regards Gordon <script language="JavaScript"> document.write ('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ' +'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash. cab#version=6,0,0,0" ' +'WIDTH="380" HEIGHT="320" id="video_player" ALIGN="center"> <PARAM NAME=movie VALUE="flvplayer.swf'+document.location.search+'">' +'<PARAM NAME=quality VALUE=high><PARAM NAME=bgcolor VALUE=#333333>' +'<EMBED src="flvplayer.swf' +document.location.search+'" ' +'quality=high bgcolor=#FFFFFF WIDTH="380" HEIGHT="320" NAME="video_player" ALIGN="" ' +'TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT>' ) </script> _______________________________________________ For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo -- CFDeveloper Sponsors:- >- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -< >- Lists hosted by www.Gradwell.com -< >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
_______________________________________________ For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo -- CFDeveloper Sponsors:- >- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -< >- Lists hosted by www.Gradwell.com -< >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
