| Script works in IE but not in FireFox attempting to call Falsh movie and avoid bounding box |
Cienwen

msg:3515780 | 1:14 am on Nov 29, 2007 (gmt 0) | Hello, I am using JavaScript to call a Flash movie so the bounding box will be avoided. I have just reloaded all of the pages and info using a new, holiday Flash movie. It works fine in IE, but Firefox continues to show the old movie. I have cleared the cache and refreshed. This is the code: // JavaScript Document document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0" id=file width=800 height=580>'); document.write('<param name=movie value="/holiday07.swf">'); document.write('<param name=quality value=high>'); document.write('<param name=loop value=false>'); document.write('<embed src="intro.swf" loop=false quality=high width=800 height=580 type="application/x-shockwave-flash" pluginspage="://www.macromedia.com/shockwave/download/index.cgi?p1_prod_version=shockwaveflash">'); document.write('</embed>'); document.write('</object>');
Here’s the HTML I use to call it. <script type="text/javascript" src="/intro.js"></script>
Does anyone know what is causing this? P.S. I have removed the http form the macromedia links as to not offend the mods. They are in my file though. Thank you in advance.
|
jdMorgan

msg:3515848 | 3:38 am on Nov 29, 2007 (gmt 0) | > Firefox continues to show the old movie. That means that the movie is still cached -- Either in Firefox or in your FlashPlayer cache. Or if you have changed the name of the .swf file, then the old JavaScript is what is still cached (in Firefox). Jim
|
rocknbil

msg:3515883 | 5:32 am on Nov 29, 2007 (gmt 0) | The absolute best thing I've found for the bounding box issue is the SWFObject library, check it out. Saves so much time and headache, it's a little heavy but well worth it.
|
Cienwen

msg:3516314 | 4:49 pm on Nov 29, 2007 (gmt 0) | Thanks guys. I will look into those topics.
|
|
|