Hi folks, I'm getting some strange behavior in IE. I get this behavior even with the new 2.2 version of swfobject.
If you check out this page, scroll to the bottom, there is a little flash piece on the bottom right: http://production.danversbank.pixelmedia.net/ If you click a link on the page, the flash seems to duplicate itself for a second before the new page loads. I've done some research and found this link: http://lists.deconcept.com/pipermail/swfobject-deconcept.com/2006-August/001407.html The problem seems to be similar, although the code has been rewritten. I've tracked it down to this function: removeObjectInIE() (line 494 in v2.2) In version 2.1, it looked to be just this one line causing the issue: obj.parentNode.removeChild(obj); In version 2.2, it also seems to be caused by this loop: if (typeof obj[i] == "function") { obj[i] = null; } If I comment the call to that function, the problem goes away. However I see a comment in the code: "Release memory to avoid memory leaks caused by closures, fix hanging audio/video threads and force open sockets/NetConnections to disconnect (Internet Explorer only)" So I'm wary to comment that line out. Any help is appreciated! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SWFObject" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/swfobject?hl=en -~----------~----~----~----~------~----~------~--~---
