ok this is what i used and it works
you have to use the tag around your flash for it to work, for instance i used this to add it into the template
Code: Select all
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" >
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="Where It Is On Your Server" />
<embed src="Where It Is On Your Server" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
change the Where It Is On Your Server to say
http://www.yoursite.com/uploads then add the location the flash file is in e.g.
http://www.yousite.com/uploads/flash/flash-file.swf
next create a new file in notepad (not ms word, notepad) and include this coe
Code: Select all
objects = document.getElementsByTagName("object");
for (var i = 0; i < objects.length; i++)
{
objects[i].outerHTML = objects[i].outerHTML;
}
save it as ieupdate.js and remember to change the "Save As Type" at the bottom of the save box to All Types or it wont work
then upload the javascript file to cms and add this code DIRECTLY after the code in the template
Code: Select all
<__script__ type="text/javascript" src="http://www.yoursite.com/uploads/ieupdate.js"></__script>
obviously changing the location to suit your site
and save the template and reload the page and everything should work !
