Forum Moderators: open

Message Too Old, No Replies

.swf and .gif fallback issues

         

SilverLining

1:35 pm on Sep 10, 2007 (gmt 0)

10+ Year Member



I'm trying to use minimal required amount of code to get a .swf file working in all browsers (at least *IE* and FF), with a .gif image as fallback.

At first the .swf file was not working in IE: It displayed a white box and when right clicked, the option was

About Adobe Flash Player 9

Since then, I've removed the

embed
part and now the same thing happens in Firefox. From what I understand object is better to use and embed has been deprecated.

Any suggestions as to what I may be missing from the code below. Ideally I would like to stay away from using any JavaScript detection.

Is it necessary to set the default Flash version?


<object type="application/x-shockwave-flash" data="c.swf?path=/swf/blah.swf" width="100" height="100">
<param name="movie" value="c.swf?path=/swf/blah.swf" />
<img src="noflash.gif" width="100" height="100" alt="" />
</object>