[SWFObject] Can't get swfObject working

Granny Maude Admin admin at grannymaude.biz
Tue Nov 28 16:59:12 PST 2006


Hello all,
I have a problem understanding why I can't get the following code to work
with swfObject.  When I use this code all I get is a blank page in all
versions of Firefox and IE.  If I point a hyperlink at the swf itself the
movie shows up just fine in all browsers.

Here's the code I'm using.

<script type="text/javascript" src="swfObject.js"><script />
</head>

<body>

<div id="invisible">
<script type="text/javascript">
	// <![CDATA[
			
	var fo = new SWFObject("invisiblecage.swf", "invisiblecage", "800",
"600", "8", "#663333");
	fo.addVariable("XMLConfig", "config.xml");
	fo.write("invisiblecage");
			
	// ]]>
</script>

</div>

---------------------------------
Pleasant regards,
Paul





More information about the Swfobject mailing list