<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">ah that is a good guess, i didn't notice that they were the same.<DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR><DIV><DIV>On Jul 28, 2006, at 2:09 PM, Jeremy Nicoll wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"> It could be that you are using the same name for your flash file (flashmain) as you are for the ID of the DIV you are writing to.  I would suggest using a different name.<BR> <BR> --<BR> Jeremy Nicoll<BR> <DIV class="moz-text-html" lang="x-western"> <DIV class="Section1"><DIV><FONT face="Arial" size="2"><SPAN style="font-size: 10pt; font-family: Arial;"></SPAN></FONT><BR class="khtml-block-placeholder"></DIV> <HR size="2" width="100%"><P class="MsoNormal"><FONT face="Arial" size="2"><SPAN style="font-size: 10pt; font-family: Arial;">I am getting the following JavaScript error in both Firefox and IE when using the swfObject on my Joomla site:<O:P></O:P></SPAN></FONT></P><P class="MsoNormal" style=""><I><FONT color="red" face="Arial" size="2"><SPAN style="font-size: 10pt; font-family: Arial; color: red; font-style: italic;">Error: n has no properties<O:P></O:P></SPAN></FONT></I></P><P class="MsoNormal" style=""><I><FONT color="red" face="Arial" size="2"><SPAN style="font-size: 10pt; font-family: Arial; color: red; font-style: italic;">Source File: <O:P></O:P></SPAN></FONT></I></P><P class="MsoNormal" style=""><I><FONT color="red" face="Arial" size="2"><SPAN style="font-size: 10pt; font-family: Arial; color: red; font-style: italic;"><A href="http://webdev.displaypack.com/joomla/templates/displaypack/scripts/swfobject.js"><FONT color="red"><SPAN style="color: red;">http://webdev.displaypack.com/joomla/templates/displaypack/scripts/swfobject.js</SPAN></FONT></A><O:P></O:P></SPAN></FONT></I></P><P class="MsoNormal"><I><FONT color="red" face="Arial" size="2"><SPAN style="font-size: 10pt; font-family: Arial; color: red; font-style: italic;">Line: 86<O:P></O:P></SPAN></FONT></I></P><P class="MsoNormal"><FONT face="Arial" size="2"><SPAN style="font-size: 10pt; font-family: Arial;"><O:P> </O:P></SPAN></FONT></P><P class="MsoNormal"><FONT face="Arial" size="2"><SPAN style="font-size: 10pt; font-family: Arial;">The site that I am working on is at: <A href="http://webdev.displaypack.com/joomla/index.php">http://webdev.displaypack.com/joomla/index.php</A><O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT face="Arial" size="2"><SPAN style="font-size: 10pt; font-family: Arial;"><O:P> </O:P></SPAN></FONT></P><P class="MsoNormal"><FONT face="Arial" size="2"><SPAN style="font-size: 10pt; font-family: Arial;">I am using the .js SWFObject v1.4.2 file that I downloaded from the site and the following code on the page:<O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT face="Arial" size="2"><SPAN style="font-size: 10pt; font-family: Arial;"><O:P> </O:P></SPAN></FONT></P><P class="MsoNormal"><I><FONT color="red" face="Arial" size="2"><SPAN style="font-size: 10pt; font-family: Arial; color: red; font-style: italic;"><div id="flashmain"><img src/templates/displaypack/images/top_placeholder.jpg" alt="" /></div><O:P></O:P></SPAN></FONT></I></P><P class="MsoNormal"><I><FONT color="red" face="Arial" size="2"><SPAN style="font-size: 10pt; font-family: Arial; color: red; font-style: italic;"><O:P> </O:P></SPAN></FONT></I></P><P class="MsoNormal"><I><FONT color="red" face="Arial" size="2"><SPAN style="font-size: 10pt; font-family: Arial; color: red; font-style: italic;"><script type="text/javascript"><O:P></O:P></SPAN></FONT></I></P><P class="MsoNormal"><I><FONT color="red" face="Arial" size="2"><SPAN style="font-size: 10pt; font-family: Arial; color: red; font-style: italic;">// <![CDATA[<O:P></O:P></SPAN></FONT></I></P><P class="MsoNormal"><I><FONT color="red" face="Arial" size="2"><SPAN style="font-size: 10pt; font-family: Arial; color: red; font-style: italic;"><O:P> </O:P></SPAN></FONT></I></P><P class="MsoNormal"><I><FONT color="red" face="Arial" size="2"><SPAN style="font-size: 10pt; font-family: Arial; color: red; font-style: italic;">var so = new SWFObject("<?php echo $mosConfig_live_site;?>/templates/displaypack/flash/flash-main.swf", "flashmain", "980", "354", "7", "#FFF");<O:P></O:P></SPAN></FONT></I></P><P class="MsoNormal"><I><FONT color="red" face="Arial" size="2"><SPAN style="font-size: 10pt; font-family: Arial; color: red; font-style: italic;">                        so.addParam("wmode", "transparent");<O:P></O:P></SPAN></FONT></I></P><P class="MsoNormal"><I><FONT color="red" face="Arial" size="2"><SPAN style="font-size: 10pt; font-family: Arial; color: red; font-style: italic;">                        so.addParam("menu", "false");<O:P></O:P></SPAN></FONT></I></P><P class="MsoNormal"><I><FONT color="red" face="Arial" size="2"><SPAN style="font-size: 10pt; font-family: Arial; color: red; font-style: italic;">                        so.addParam("quality", "high");<O:P></O:P></SPAN></FONT></I></P><P class="MsoNormal"><I><FONT color="red" face="Arial" size="2"><SPAN style="font-size: 10pt; font-family: Arial; color: red; font-style: italic;">                        so.write("flashmain");<O:P></O:P></SPAN></FONT></I></P><P class="MsoNormal"><I><FONT color="red" face="Arial" size="2"><SPAN style="font-size: 10pt; font-family: Arial; color: red; font-style: italic;">//]]><O:P></O:P></SPAN></FONT></I></P><P class="MsoNormal"><I><FONT color="red" face="Arial" size="2"><SPAN style="font-size: 10pt; font-family: Arial; color: red; font-style: italic;"></script><O:P></O:P></SPAN></FONT></I></P><P class="MsoNormal"><FONT face="Arial" size="2"><SPAN style="font-size: 10pt; font-family: Arial;"><O:P> </O:P></SPAN></FONT></P><P class="MsoNormal"><FONT face="Arial" size="2"><SPAN style="font-size: 10pt; font-family: Arial;">Can anyone help with this issue? <O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT face="Arial" size="2"><SPAN style="font-size: 10pt; font-family: Arial;"><O:P> </O:P></SPAN></FONT></P><P class="MsoNormal"><FONT face="Arial" size="2"><SPAN style="font-size: 10pt; font-family: Arial;">Thanks<O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT face="Arial" size="2"><SPAN style="font-size: 10pt; font-family: Arial;"><O:P> </O:P></SPAN></FONT></P><P class="MsoNormal"><FONT face="Arial" size="2"><SPAN style="font-size: 10pt; font-family: Arial;">Jamie<O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT face="Times New Roman" size="3"><SPAN style="font-size: 12pt;"><O:P> </O:P></SPAN></FONT></P> </DIV> </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>