landon6544
02-08-2008, 10:29 PM
I have the following code, which currently loads a certain type of flash file on our site.
<param name="movie" value="/media/lv/speakerABC.swf{concat('?mp3file=','/media/lv/lv_',$includeweek,$includeday,$includepage,'_5.SWF ','&id=',/props/@id,'&lang=',/props/@lang)}&loops=0&initplay=0" />
I'm in the process of incorporating SWFObject.js to load all the flash on the site and am having problems creating a new JS object with the correct parameters. Could someone please point me in the right direction? The following is kind of what I'm going for...
<script type="text/javascript">
// <![CDATA[
var so = new SWFObject ("/media/en/speakerABC.swf?mp3file=/media/lv/lv_?????????.SWF", "flash6", "70", "70", "9", "#FFFFF");
so.addParam("quality","high");
so.addParam("allowScriptAccess","always");
so.addParam("align","middle");
so.addParam("pluginspage","http://www.macromedia.com/go/getflashplayer");
so.write("flash6");
// ]]>
</script>
Thanks,
Landon
<param name="movie" value="/media/lv/speakerABC.swf{concat('?mp3file=','/media/lv/lv_',$includeweek,$includeday,$includepage,'_5.SWF ','&id=',/props/@id,'&lang=',/props/@lang)}&loops=0&initplay=0" />
I'm in the process of incorporating SWFObject.js to load all the flash on the site and am having problems creating a new JS object with the correct parameters. Could someone please point me in the right direction? The following is kind of what I'm going for...
<script type="text/javascript">
// <![CDATA[
var so = new SWFObject ("/media/en/speakerABC.swf?mp3file=/media/lv/lv_?????????.SWF", "flash6", "70", "70", "9", "#FFFFF");
so.addParam("quality","high");
so.addParam("allowScriptAccess","always");
so.addParam("align","middle");
so.addParam("pluginspage","http://www.macromedia.com/go/getflashplayer");
so.write("flash6");
// ]]>
</script>
Thanks,
Landon