<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">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?<DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR><DIV><DIV>On Sep 11, 2006, at 11:22 PM, Lyle Thomas wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"> <DIV><FONT face="Tahoma" size="2"><SPAN class="312301103-12092006">Hi There,</SPAN></FONT></DIV> <DIV><FONT face="Tahoma" size="2"><SPAN class="312301103-12092006"></SPAN></FONT> </DIV> <DIV><FONT face="Tahoma" size="2"><SPAN class="312301103-12092006">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.</SPAN></FONT></DIV> <DIV><FONT face="Tahoma" size="2"><SPAN class="312301103-12092006"></SPAN></FONT> </DIV> <DIV><FONT face="Tahoma" size="2"><SPAN class="312301103-12092006">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.</SPAN></FONT></DIV> <DIV><FONT face="Tahoma" size="2"><SPAN class="312301103-12092006"></SPAN></FONT> </DIV> <DIV><FONT face="Tahoma" size="2"><SPAN class="312301103-12092006"> <B><FONT size="1"> </FONT></B><FONT size="1"></FONT><P><FONT size="1"><B><script</B> type=<B>"text/javascript"</B> src=<B>"swfobject.js"></script></B><BR><B></head></B><BR><BR><B><body></B><BR><B><div</B> class=<B>"dt main"</B> <B>></B><BR><B><div</B> class=<B>"dt header"></B><BR><B><div</B> class=<B>"dr"></B><BR><B><div</B> class=<B>"dc"></B><BR><BR><B><div</B> id=<B>"flashcontent"></B><BR>flash/menu.swf<BR><B></div></B><BR><B><script</B> type=<B>"text/javascript"></B><BR></FONT><B><FONT color="#008000" size="1">var</FONT></B><FONT color="#008000" size="1"></FONT><FONT size="1"> <B>so</B> </FONT><FONT color="#008000" size="1">=</FONT><FONT size="1"> </FONT><B><FONT color="#008000" size="1">new</FONT></B><FONT color="#008000" size="1"></FONT><FONT size="1"> <B>SWFObject</B></FONT><FONT color="#008000" size="1">(</FONT><I><FONT size="1">"flash/menu.swf"</FONT></I><FONT size="1"></FONT><FONT color="#008000" size="1">,</FONT><FONT size="1"> <I>"movie"</I></FONT><FONT color="#008000" size="1">,</FONT><FONT size="1"> <I>"766"</I></FONT><FONT color="#008000" size="1">,</FONT><FONT size="1"> <I>"86"</I></FONT><FONT color="#008000" size="1">,</FONT><FONT size="1"> <I>"6"</I></FONT><FONT color="#008000" size="1">,</FONT><FONT size="1"> <I>""</I></FONT><FONT color="#008000" size="1">);</FONT><FONT size="1"> <BR><B>so</B></FONT><FONT color="#008000" size="1">.</FONT><B><FONT size="1">write</FONT></B><FONT size="1"></FONT><FONT color="#008000" size="1">(</FONT><I><FONT size="1">"flashcontent"</FONT></I><FONT size="1"></FONT><FONT color="#008000" size="1">);</FONT><FONT size="1"> <BR><B></script></B> <BR><B></div></B><BR><B></div></B><BR><B></div></B><BR><B><div</B> class=<B>"dt header1"></B><BR><B><div</B> class=<B>"dr"></B><BR><B><div</B> class=<B>"dc"></B><BR><B><div</B> id=<B>"header"></B><BR>flash/header.swf<BR><B></div></B> <BR><B><script</B> type=<B>"text/javascript"></B><BR></FONT><B><FONT color="#008000" size="1">var</FONT></B><FONT color="#008000" size="1"></FONT><FONT size="1"> <B>so</B> </FONT><FONT color="#008000" size="1">=</FONT><FONT size="1"> </FONT><B><FONT color="#008000" size="1">new</FONT></B><FONT color="#008000" size="1"></FONT><FONT size="1"> <B>SWFObject</B></FONT><FONT color="#008000" size="1">(</FONT><I><FONT size="1">"flash/header.swf"</FONT></I><FONT size="1"></FONT><FONT color="#008000" size="1">,</FONT><FONT size="1"> <I>"movie"</I></FONT><FONT color="#008000" size="1">,</FONT><FONT size="1"> <I>"713"</I></FONT><FONT color="#008000" size="1">,</FONT><FONT size="1"> <I>"260"</I></FONT><FONT color="#008000" size="1">,</FONT><FONT size="1"> <I>"6"</I></FONT><FONT color="#008000" size="1">,</FONT><FONT size="1"> <I>""</I></FONT><FONT color="#008000" size="1">);</FONT><FONT size="1"> <BR><B>so</B></FONT><FONT color="#008000" size="1">.</FONT><B><FONT size="1">write</FONT></B><FONT size="1"></FONT><FONT color="#008000" size="1">(</FONT><I><FONT size="1">"header"</FONT></I><FONT size="1"></FONT><FONT color="#008000" size="1">);</FONT><FONT size="1"> <BR><B></script></B> </FONT></P><FONT size="1"></FONT></SPAN></FONT></DIV> <DIV><SPAN class="312301103-12092006"><FONT face="Tahoma" size="2">Cheers,</FONT></SPAN></DIV> <DIV><SPAN class="312301103-12092006"><FONT face="Tahoma" size="2"></FONT></SPAN> </DIV> <DIV><SPAN class="312301103-12092006"><FONT face="Tahoma" size="2">Lyle</FONT></SPAN></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">SWFObject mailing list</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="mailto:SWFObject@lists.deconcept.com">SWFObject@lists.deconcept.com</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com">http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com</A></DIV> </BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>