[SWFObject] error when leaving page

Terry Cali swfobject-deconceptcom at dedicatedmanagers.com
Fri Sep 15 09:58:49 PDT 2006


I use a little piece of javascript to remove a flash movie after it is finished:

 document.getElementById("headerFlashDIV").innerHTML = "<img src='/images/headers/header.gif'>";

I get "Object doesn't support this property or method" when leaving the page after this code runs.  I believe this may be caused by an error in the "onunload" function of swfObject as the object is now removed.  Could this be the cause?  

Is there a way to tell swfObject that the object was removed?

Thanks,
Terry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.deconcept.com/pipermail/swfobject-deconcept.com/attachments/20060915/ded7e922/attachment-0004.htm>


More information about the Swfobject mailing list