You might be experiencing the same situation described here: https://bugs.adobe.com/jira/browse/SDK-15106
We will be starting the investigation shortly. However, your quickest path to a solution is probably to do something similar to what Aran suggest and have a loading SWF load the content SWFs that you want to unload. There are known issues with SWFs sticking after registering a callback ExternalInterface which I suspect will be the cause of the bug cited above. Having a single main SWF that registers the callback and having sub-SWFs utilize the main SWF to get called back is the recommended workaround. Alex Harui Flex SDK Developer Adobe Systems Inc. Blog: http://blogs.adobe.com/aharui -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Mike Boone Sent: Wednesday, September 30, 2009 9:36 AM To: SWFObject Subject: Re: removeSWF and IE On Sep 30, 12:25 am, Aran Rhee <[email protected]> wrote: Thanks for your reply. > While this may not be addressing the issue directly, how come you don;t use > external interface to expose a loading methof for your swf so that you can > load new content without having to destroy / rebuild the swf? This is the > way most FLV players work (they have a js accessible API which can be called > from the page). This would also allow you to add any required code to close > the netstream object etc before loading the new video. Sometimes the space will contain a static image instead of a video, and the user can swap between them. There are probably other good ways to accomplish this, but my method works for everything but IE, so for now I would like to just solve the IE problem, if possible. > The removeSWF() method SHOULD do the trick, as it calls removeObjectInIE() > if required, which has the fix to close audio / video thread etc. I have created a stripped-down page which demonstrates the problem: http://boonedocks.net/video_swap/ Click on "Video 0" and a movie will begin to play (there are some debugging alerts). Then click on Image 0 and the video is replaced with an image. In IE, the audio continues, but in all other browser's I have tried (FF, Safari, Opera), it works as expected. I believe I am using the latest SWFObject code, so I am not sure where to go next. Many thanks for your time. Mike Boone. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
