Im using the swfobject function. http://dev.cmsmadesimple.org/projects/swfobject
This works fine.
The way i add flashcontent to my page WAS like this:
Code: Select all
<div id="smart-banner"></div>
<__script__ type="text/javascript">
// <![CDATA[
var so = new SWFObject("smart-banner.swf", "myMovie", "537", "195", "8", "#000000");
so.addVariable("XMLpath", "smart-banner.xml");
so.write("smart-banner");
// ]]>
</__script>
this is the code im using NOW in my template:
Code: Select all
{swfobject swf='uploads/flash/smart-banner.swf' width='537' height='195' wmode='transparent' fver='8'
fmenu='false' fvarname='XMLpath' fvarval='smart-banner.xml' divid='smart-banner'}
Does somebody know how i can resolve this?
Thanks!