[SWFObject] Swfobject error

Geoff Stearns geoff at deconcept.com
Fri Sep 15 07:47:52 PDT 2006


not sure we can be much help without a link to your page - are you  
using any other javascript? are you sure line 126 is part of the  
swfobject code?



On Sep 11, 2006, at 11:22 PM, Lyle Thomas wrote:

> 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
> _______________________________________________
> SWFObject mailing list
> SWFObject at lists.deconcept.com
> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.deconcept.com/pipermail/swfobject-deconcept.com/attachments/20060915/928745b4/attachment-0005.htm>


More information about the Swfobject mailing list