Welcome to WebmasterWorld Guest from 3.80.6.254

Forum Moderators: open

Message Too Old, No Replies

Firefox not loading flash page up on mac and pc - Please help!

     
6:11 pm on Dec 3, 2008 (gmt 0)

New User

10+ Year Member

joined:Dec 3, 2008
posts: 4
votes: 0


Hi guys,
im new to flash and trying to learn myself. When I preview my flash page through dreamweaver using Safari it works ok, no probs on PC IE.

When I try to view the page through firefox on mac and pc i get this message-

FAIL (the browser should render some flash content, not this)

I do not understand how to fix this or why it is happening... Here is the code.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Untitled</title>
<link href="style.css" rel="stylesheet" type="text/css">

</head>

<body >
<center>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"
width="766" height="766">
<param name="movie" value="../Flash/main3.swf">
<param name="quality" value="high">
<param name="menu" value="false">
<!--[if !IE]> <-->
<object data="main3r.swf"
width="766" height="766" type="application/x-shockwave-flash">
<param name="quality" value="high">
<param name="menu" value="false">
<param name="pluginurl" value="http://www.macromedia.com/go/getflashplayer">
FAIL (the browser should render some flash content, not this).
</object>
<!--> <![endif]-->
</object>
</center>
</body>
</html>

6:30 pm on Dec 3, 2008 (gmt 0)

Preferred Member

10+ Year Member

joined:May 29, 2007
posts: 578
votes: 0


When I try to view the page through firefox on mac and pc i get this message-

FAIL (the browser should render some flash content, not this)

I do not understand how to fix this or why it is happening...

Hi Flashgirl,

Welcome :)

The reason it's happening is because you have a 'conditional statement':
start = <!--[if !IE]>
the end = <![endif]-->

The exclamation mark means NOT, so the statement means
If the browser is NOT IE, do the following

11:38 pm on Dec 3, 2008 (gmt 0)

New User

10+ Year Member

joined:Dec 3, 2008
posts:4
votes: 0


Ok, understood now how do i fix it?
11:54 pm on Dec 3, 2008 (gmt 0)

Preferred Member

10+ Year Member

joined:May 29, 2007
posts: 578
votes: 0


Maybe this will work

[pre]
<object type="application/x-shockwave-flash"
data="../Flash/main3.swf"
width="766" height="766" id="aUniqueNameForThisFlashObjectThingy">
<param name="movie"
value="../Flash/main3.swf">
<param name="allowScriptAcess"
value="sameDomain">
<param name="quality"
value="best">
<param name="bgcolor"
value="#ffffff">
<param name="scale"
value="noScale">
<param name="salign"
value="TL">
<param name="FlashVars"
value="playerMode=embedded">
</object>
[/pre]
12:35 am on Dec 4, 2008 (gmt 0)

New User

10+ Year Member

joined:Dec 3, 2008
posts:4
votes: 0


Lavazza it seems to be working YAY!
I'm learning from your neat code.
What I have also done is re-entered the bg colour and centred the flash again. So far so good. My last alteration is that the HTML background is still white and not the #46463F value. What code do I type in to achieve this?

*soo excited.....

12:38 am on Dec 4, 2008 (gmt 0)

New User

10+ Year Member

joined:Dec 3, 2008
posts:4
votes: 0


OK fixed the HTML bg colour... I just had to re load firefox again and it worked... Slight bug?

Anyway thanks soo much Lavazza, you made it look so easy!

12:46 am on Dec 4, 2008 (gmt 0)

Preferred Member

10+ Year Member

joined:May 29, 2007
posts:578
votes: 0


#46463f is written in hex (aka hexadecimal, which uses 16 values: 0, 1, 2, ... 8, 9, a, b, c, d , e, f)

The 1st 46 is 70% red
The 2nd 46 is 70% green
The 3f is 63% blue

white = 100% red, 100% blue and 100% green

so...

#ffffff

or, if you wannna be clever, the 'shorthand' notation of

#fff

will work too :)