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.
Back to your actual question, there are specific routines in SWFObject to close audio / video threads in IE. See lines 594-620 in the src. This currently only gets called on window onunload though. The removeSWF() method SHOULD do the trick, as it calls removeObjectInIE() if required, which has the fix to close audio / video thread etc. If you are interested, you can also look here for the original bug/fix thread: http://blog.deconcept.com/2006/05/18/flash-player-bug-streaming-content-innerhtml-ie/ I have use the removedSWF method on videos before with IE, and have not seen the audio continue, so initially, I would have to say ??? Aran On Wed, Sep 30, 2009 at 12:43 PM, Mike Boone <[email protected]> wrote: > > Hi all, > > I have some code which uses embedSWF to replace a DIV with a SWF that > plays an FLV video file. If the user chooses another video or a still > image, I use removeSWF to remove the SWF, recreate a holding DIV, and > display the new content there. This works fine on Firefox and Safari. > However, on IE, the video and container disappear and the new content > appears, as expected, but the audio for the removed SWF file keeps > playing. > > Are there any steps I need to take in IE to "stop" the SWF before I > remove it? > > Thanks, > 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 -~----------~----~----~----~------~----~------~--~---
