Forum Moderators: open

Message Too Old, No Replies

Flash active x fix dunt work in firefox

flash, javascript, firefox problem

         

diegomh7

6:39 pm on Jun 18, 2006 (gmt 0)

10+ Year Member



Bugger! The active x fix that adobe and microsoft has released due to the eolas lawsuit doesnt seem to be working for me in firefox.

so right, my htm file has this written in the <head> section,

<script src="swf_includes/header.js" type="text/javascript"></script>

The header.js file looks like this:

function Header()
{
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="760" height="150">\n');
document.write('<param name="movie" value="swf/titlebar.swf" />\n');
document.write('<param name="quality" value="high" />\n');
document.write('<param name="URL" value="../swf/titlebar.swf" width="760" height="150" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></object>\n');
}

then on my html file in the body where I want my flash movie to appear ive put this :

<script type="text/javascript">Header();</script>

It works fine in IE but shows nothing in firefox.

Please help me guys,

regards,

Diego

Where am i going wrong?

visionmonster

9:47 pm on Jun 18, 2006 (gmt 0)

10+ Year Member



for FF you should be writing out an <embed> as well.

checkout SWFObject over at deconcept:

[blog.deconcept.com...]