[SWFObject] Javascript error :: using Joomla and swfObject

Geoff Stearns geoff at deconcept.com
Fri Jul 28 09:58:32 PDT 2006


ah that is a good guess, i didn't notice that they were the same.



On Jul 28, 2006, at 2:09 PM, Jeremy Nicoll wrote:

> 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.
>
> --
> Jeremy Nicoll
>
> I am getting the following JavaScript error in both Firefox and IE  
> when using the swfObject on my Joomla site:
>
> Error: n has no properties
>
> Source File:
>
> http://webdev.displaypack.com/joomla/templates/displaypack/scripts/ 
> swfobject.js
>
> Line: 86
>
>
>
> The site that I am working on is at: http://webdev.displaypack.com/ 
> joomla/index.php
>
>
>
> I am using the .js SWFObject v1.4.2 file that I downloaded from the  
> site and the following code on the page:
>
>
>
> <div id="flashmain"><img src/templates/displaypack/images/ 
> top_placeholder.jpg" alt="" /></div>
>
>
>
> <script type="text/javascript">
>
> // <![CDATA[
>
>
>
> var so = new SWFObject("<?php echo $mosConfig_live_site;?>/ 
> templates/displaypack/flash/flash-main.swf", "flashmain", "980",  
> "354", "7", "#FFF");
>
>                         so.addParam("wmode", "transparent");
>
>                         so.addParam("menu", "false");
>
>                         so.addParam("quality", "high");
>
>                         so.write("flashmain");
>
> //]]>
>
> </script>
>
>
>
> Can anyone help with this issue?
>
>
>
> Thanks
>
>
>
> Jamie
>
>
>
> _______________________________________________
> 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/20060728/14b50eb6/attachment-0005.htm>


More information about the Swfobject mailing list