JD321 0 Newbie Poster

I have a Flash CS3 movie containing menu links. It works fine in IE, Chrome, Opera and Safari, but not in Firefox. Hovering over the menu, the graphic moves but then flickers repeatedly, and pressing the menu button does not take you anywhere.

I read earlier posts here and learned about swfobject.js files and accompanying code. After googling it and doing some reading, I attempted it but the swf movie did not show up at all. I am not sure it is the fix I need, though -- do you think that's it?

I am neither a programmer nor student but a middle aged business person. I've taught myself enough CSS and HTML to revise templates and style sheets and make a few websites, but there are gaps in my knowledge. All I know in CS3 is to substitute images and basic cut and paste before exporting the swf file. I do not know java beyond imitating, as I've done with the swfobject attempt.

My current code for the menu movie that doesn't work properly in Firefox:

<TD>
<object type="application/x-shockwave-flash" data="flash/menu.swf" width="500" height="240">
<param name="movie" value="flash/menu.swf">
</object> 
</TD>

You can see that at http://www.sellyourhousewebsites.com/

Here is the swfobject attempt. I copied the js file into both my root and flash directories. In the head I put:

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

I tested it with the less complicated heder.swf file, the graphic that appears to the left of the menu movie on the website. I replaced the existing code (just like that above), following directions from another website, with:

<div id="flashcontent">
<img src="images/logoclip.gif" width="246" alt="Sell Your House Websites logo">
</div>
<script type="text/javascript">
  var so = new SWFObject("flash/heder.swf", "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" "246", "360", "6", "#6e6e6e");
     so.write("flashcontent");
</script>

So my questions are 1) is this swfobject approach the fix I need? And 2) if so, what have I done wrong? From what I've read it sounds like using the swfobject file is wise in any case, so that the swf movies will work in any flash reader or browser version, correct? So corrections on that would be welcome either way.

I appreciate any help you all might offer. Oh -- it USED to work just fine in Firefox, but I can not identify what I changed before the problem started. It might have been work I did in Adobe Flash CS3, or it might have been HTML in the index.php file.

Thank you.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.