?
Solved

SWF object to embed Flash - FireFox Issue

Posted on 2009-04-28
7
Medium Priority
?
1,366 Views
Last Modified: 2013-11-11
Hi,
I'm using SWF object to embed a Flash intro page. It works fine on all major browsers, yet doesn't seem to work in FireFox - please see: http://www.shoutthemusical.co.uk/

Any help would be greatly appreciated.
0
Comment
Question by:greenchilli
  • 4
  • 3
7 Comments
 
LVL 6

Accepted Solution

by:
biyik earned 2000 total points
ID: 24248942

Hi! It seems that you are not using the SWFObject. You just show the .js path in the html with
<script type="text/javascript" src="swfobject.js"></script> line.

In IE, Flash works because of the <param name="movie" value="shout_preloader.swf" /> line. You can change the
<object id="myId" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="873" height="690">
    <param name="movie" value="shout_preloader.swf" />
          <!--[if !IE]>-->
    <object type="application/x-shockwave-flash" data="test.swf" width="873" height="690">
    <!--<![endif]-->

codes to :

<script type="text/javascript">
swfobject.embedSWF("test.swf", "alternative", "873", "690", "9");
</script>
  <div id="alternative">
     Please update your Flash Player
  </div>

Open in new window

0
 
LVL 6

Expert Comment

by:biyik
ID: 24248950
Of course, replace "test.swf" with your file's name: "shout_preloader.swf"
0
 

Author Closing Comment

by:greenchilli
ID: 31575361
Thanks that worked, I really appreciate your help on this.
Though do you know why the intro screen doesn't show in FF, as if it thinks that flash isn't installed?
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 6

Expert Comment

by:biyik
ID: 24253788
"Though do you know why the intro screen doesn't show in FF, as if it thinks that flash isn't installed?"
Do you mean that it doesn't show in FF with the codes I wrote?
0
 

Author Comment

by:greenchilli
ID: 24256224
Hi, it's just that, in Safri and IE for example it displays the Flash intro, but in Firefox, it's displaying alternate content. Even though Flash is actually installed?
0
 
LVL 6

Expert Comment

by:biyik
ID: 24257486
Because In your html you are giving a wrong swf name
swfobject.embedSWF("shout_preloader.swf.swf", "alternative", "873", "690", "9");
you need to delete one of the ".swf" . Also you won't need <object id="myId" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="873" height="690"> <param name="movie" value="shout_preloader.swf" /> <!--[if !IE]>-->  and <!--<![endif]--> lines when you correct your file name.
0
 

Author Comment

by:greenchilli
ID: 24257520
thanks, I've done as you've suggested, though now, the Flash intro doesn't show in any browser?
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will give core knowledge of JavaScript and will head in to your first JavaScript program. I am Durvesh Naik and I am here to deal with this series of JavaScript. I will teach you JavaScript in part wise , as its quite boring to read big…
This article discusses the difference between strict equality operator and equality operator in JavaScript. The Need: Because JavaScript performs an implicit type conversion when performing comparisons, we have to take this into account when wri…
The goal of the tutorial is to teach the user how to how to record live broadcast.
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.
Suggested Courses

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question