📣 Help shape Firefox by joining our Test Days event on July 21–Aug 1 to test the Firefox Semantic History Search in Firefox Beta 142

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

my websites SWF.flash files are working on IE but not firefox, help please?

  • 12 replies
  • 8 have this problem
  • 1 view
  • Last reply by cor-el

i Have a portfolio built with flash on my new website which works fine with IE but not firefox, is there some extra coding i need to add to make it show up in firefox?

i Have a portfolio built with flash on my new website which works fine with IE but not firefox, is there some extra coding i need to add to make it show up in firefox?

Chosen solution

This code should work:


<object data="/userfiles/flash/FINE ART FLASH.swf" type="application/x-shockwave-flash" height="450" id="FlashID" width="700">
<param name="allowFullScreen" value="true" />
<param name="loop" value="false" />
<param name="play" value="false" />
<param name="scale" value="exactfit" />
<param name="movie" value="/userfiles/flash/FINE ART FLASH.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<param name="bgcolor" value="#303030" />
<param name="allowScriptAccess" value="samedomain" />
<param name="swfversion" value="9.0.45.0" />
</object>
Read this answer in context 👍 0

All Replies (12)

Make sure that the src (data) URL for Firefox is the same as for IE.

Can you post a link?

O.k thanks i'll take at look at that now, here is the link if you you'd like to take a look. (link removed, problem solved)

Modified by newbewt

I can't access that page. So maybe you can post the code.

Forbidden You don't have permission to access /index.php on this server.

oh sorry, you should be able to access it now

There is only an OBJECT with a classid that specifies an ActiveX object for IE.
Firefox ignores such an OBJECT.
You either need to remove the classid and add the .swf URL as a data attribute (data="/userfiles/flash/FINE ART FOLIO(final).swf") and type="application/x-shockwave-flash" or add a second OBJECT for Firefox.

I see that you specify 3 movie files;

FINE ART FOLIO(final).swf
FINE ART FOLIO2.swf
FINE%20ART%20FOLIO(800).swf

Which is the one to use?


<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" height="450" id="FlashID" width="750">
<param name="quality" value="high" />
<param name="movie" value="/userfiles/flash/FINE ART FOLIO(final).swf" />
<param name="quality" value="high" />
<param name="movie" value="/userfiles/flash/FINE ART FOLIO2.swf" />
<param name="quality" value="high" />
<param name="movie" value="/userfiles/flash/FINE%20ART%20FOLIO(800).swf" />
<param name="wmode" value="transparent" />
<param name="bgcolor" value="#303030" />
<param name="allowScriptAccess" value="always" />
<param name="allowFullScreen" value="true" />
<param name="swfversion" value="9.0.45.0" />
</object>

 <!--[if !IE]>-->
  <object data="/userfiles/flash/FINE ART FOLIO(final).swf" height="450" id="FlashID" width="750" type="application/x-shockwave-flash">
   <param name="quality" value="high" />
   <param name="wmode" value="transparent" />
   <param name="bgcolor" value="#303030" />
   <param name="allowScriptAccess" value="always" />
   <param name="allowFullScreen" value="true" />
   </object>
 <!--<![endif]-->
</object>

I've cleared out the other files, they were older versions that were still on my server, sorry bout that.

Just on removing the classid could you post what the old code and the new code should look like please.

heres the URL for the flash file /userfiles/flash/FINE ART FLASH.swf

Chosen Solution

This code should work:


<object data="/userfiles/flash/FINE ART FLASH.swf" type="application/x-shockwave-flash" height="450" id="FlashID" width="700">
<param name="allowFullScreen" value="true" />
<param name="loop" value="false" />
<param name="play" value="false" />
<param name="scale" value="exactfit" />
<param name="movie" value="/userfiles/flash/FINE ART FLASH.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<param name="bgcolor" value="#303030" />
<param name="allowScriptAccess" value="samedomain" />
<param name="swfversion" value="9.0.45.0" />
</object>

Brilliant!!!! worked perfect, thanks a million, just wondering should i delete this post now?

You can click the "Solved it" button next to the answer that solved your problem to indicate that you solved your problem.

You only see "Solved It" button next to each answer if you have signed in to this forum.

no worries, thanks again

just noticed something, is there a way to block people downloading it using firefox.

i've noticed some sites there flash isn't downloadable with download helper

would like to do this to my site if possible

You can't prevent a Flash SWF file from downloading and getting saved because Firefox will save that file in the cache anyway.

If you want to prevent visitors from saving content then you should retrieve that content via a secure connection in the Flash plugin.
Then you won't see the links show in the cache.