Forum Moderators: open
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>
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
[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]
*soo excited.....
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 :)