[SWFObject] Swfobject error

Lyle Thomas lyle.thomas at branca.com.au
Mon Sep 11 20:22:48 PDT 2006


Hi There,
 
I have been using swfobject 1.4.4 for about 2 weeks for a new site that I am
developing. It was working fine until today. I get a jscript runtime error
'window is undefined' code 800A1391, line 126, char 1.
 
Where the flash is supposed to be, "flash/menu.swf" and "flash/header.swf"
is displayed. Below is the code I have been using, that was working but now
isn't. I suspect it has something to do with the .js file as all pages have
the same issue. I redownloaded the source files, but still got the same
errors. Any ideas would be great.
 
  

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

<body>
<div class="dt main" >
<div class="dt header">
<div class="dr">
<div class="dc">

<div id="flashcontent">
flash/menu.swf
</div>
<script type="text/javascript">
var so = new SWFObject("flash/menu.swf", "movie", "766", "86", "6", ""); 
so.write("flashcontent"); 
</script> 
</div>
</div>
</div>
<div class="dt header1">
<div class="dr">
<div class="dc">
<div id="header">
flash/header.swf
</div> 
<script type="text/javascript">
var so = new SWFObject("flash/header.swf", "movie", "713", "260", "6", ""); 
so.write("header"); 
</script> 

Cheers,
 
Lyle
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.deconcept.com/pipermail/swfobject-deconcept.com/attachments/20060912/22c68481/attachment-0004.htm>


More information about the Swfobject mailing list