Chris.
I suggest you check out the code generator, which will help you format your
code correctly. You have not defined the required parameters for your IE
block. You also specify 2 different Ids ("haxe" and "myId" - they need to
match). In addition you are specifying two different .swf files for IE and
FF! The code should look like:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
swfobject.registerObject("haxe", "10.0.0",
"expressInstall.swf");
</script>
</head>
<body>
<div>
<object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="780"
height="420" id="haxe">
<param name="movie" value="myContent.swf" />
<param name="scale" value="noscale" />
<param name="salign" value="tl" />
<param name="allowscriptaccess"
value="always" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash"
data="myContent.swf" width="780" height="420">
<param name="scale" value="noscale"
/>
<param name="salign" value="tl" />
<param name="allowscriptaccess"
value="always" />
<!--<![endif]-->
<p>Alternative content</p>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
</div>
</body>
</html>
Generator:
http://www.swffix.org/swfobject/generator/
Cheers,
Aran
-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Chris
Sent: Wednesday, 17 December 2008 3:47 AM
To: [email protected]
Subject: Installation
Background:
http://lists.motion-twin.com/pipermail/haxe/2008-December/021435.html
I tried to install SWFObject, but it keeps forcing the alternative content.
What am I missing? (I'm using Flash 10.0.12 in Firefox.)
Thanks!
Chris
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"SWFObject" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/swfobject?hl=en
-~----------~----~----~----~------~----~------~--~---