So have you been using the API method of swfobject.removeSWF(objElemIdStr) ? ( http://code.google.com/p/swfobject/wiki/api )
This method was built especially to avoid memory leaks etc.... BTW - reading through the docs is a real good way to find out what the capabilities of a library are. Most likely if you are wanting to do something, then others are too, and it is in the API :) Aran -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Moodang Sent: Tuesday, 17 March 2009 12:29 AM To: SWFObject Subject: IE6 and how to Dynamically remove SWF Dear Sirs, SWFObject works very great to dynamically remove SWF objects. I use SWFObject inside an AJAX call and it works fine. However, I do have serious problem when trying to remove SWF dynamically. I do various ways to modify, delete containing DOM through various commands. The SWF object is then visibly gone from the page, but it's still running in memory. I use JW FLV Player, so I can keep hearing the sound playing even when the SWF object is gone. I have no problems in Safari or FireFox, but this problem is there in IE6. I can be tricky and tell the video player to MUTE before disappearing, but then memory usage grows for each new SWF that I spawn via AJAX. This problem pertains to even Youtube players. So is there a correct way to completely kill/remove a SWF object from memory in IE6? I have wasted too many hours on this already. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
