[SWFObject] FlashObject Undefined

Aran Rhee aran.rhee at qdc.net.au
Tue Oct 3 14:57:11 PDT 2006


Brian.

I would update to the latest SWFObject.js, as you are running quite and old
version (before the forced name change etc :).  See how you go after that.

Cheers,
Aran 

> -----Original Message-----
> From: swfobject-bounces at lists.deconcept.com 
> [mailto:swfobject-bounces at lists.deconcept.com] On Behalf Of Brian Lee
> Sent: Wednesday, 4 October 2006 5:29 AM
> To: swfobject at lists.deconcept.com
> Subject: [SWFObject] FlashObject Undefined
> 
> Hello,
> 
> I've been struggling with this problem for a while now and 
> can't seem to figure out whats wrong I'm using the swfobject 
> but on random ocassions I'll get this error "Line [number]... 
> Error FlashObject is undfined" I'll be asked to debug if I 
> click no the same error on a different line will come up... 
> Has anyone else experience this problem? The page has a lot 
> of flash object on it at minimum 3-5.
> 
> The FlashObject is referenced externally here is a sample of 
> from my page this line is in between the <head></head> tags
> 
> <script language="javascript"
> src="http://fundev.kaboose.com/FlashObject.js"></script>
> 
> Sample call...
> 
> 
> <div id="subNavFlash"></div>
> 
> <script type="text/javascript">
>     // <![CDATA[
>     var so = new FlashObject("http://fundev.kaboose.com/subnav.swf",
> "subNav", "810", "108", "6", "#B4D453");
>     so.addVariable("subNavXML",
> "http://fundev.kaboose.com/funBlasterSubNav.xml");
>     so.addVariable("currentSelection", "3");
>     so.setAttribute('xiRedirectUrl',
> 'http://fundev.kaboose.com/fun-blaster/halloween/index.html');
>     so.addParam("wmode", "opaque");
>     so.write("subNavFlash");
>     // ]]>
> </script>
> 
> Regards,
> 
> Brian
> 
> _______________________________________________
> SWFObject mailing list
> SWFObject at lists.deconcept.com
> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com




More information about the Swfobject mailing list