Forum Moderators: open
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?
checkout SWFObject over at deconcept:
[blog.deconcept.com...]