homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library, Charter, Moderator: open

Flash and Shockwave Forum

Any ideas why this Flash page won't work in FireFox but will in IE

5+ Year Member

Msg#: 4031698 posted 6:36 pm on Nov 25, 2009 (gmt 0)


[edited by: eelixduppy at 5:10 pm (utc) on Nov. 26, 2009]



WebmasterWorld Senior Member rocknbil us a WebmasterWorld Top Contributor of All Time 10+ Year Member

Msg#: 4031698 posted 7:20 pm on Nov 25, 2009 (gmt 0)

Welcome aboard JayKay_01, see TOS [webmasterworld.com], #13.

Here is the code, anonymized:

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
width="990" height="500" id="RedGeckoIntro2">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="false" />
<param name="movie" value="Flash/your-flash-file.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<param name="bgcolor" value="#ffffff" />

Moz browsers need <embed>, IE and others, <object>. But IE will display <embed> too, putting two on the page.

The "old school" method of cross browser support is to include the embed tag inside the object tags, like


This is how Macromedia and Adobe "publish" the code to this day.

Unfortunately, it's invalid HTML.

The most graceful way I've found, and will allow you to validate: swfObject [code.google.com]. Simple to implement, it displays alternate content first so if JS and/or Flash is disabled, you still get a layout and content. If enabled, swfObject writes the Flash to the element. Best of both worlds.


5+ Year Member

Msg#: 4031698 posted 10:51 am on Nov 26, 2009 (gmt 0)

Hi rocknbil, sorry about posting my link I should have read the TOS first.

Thanks very much for the info. I've implemented swfObject ver 2 and works a treat on all browsers, tried uninstalling Flash and all the scripts and links worked great too. Thanks again!

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved