i see you have your swfobject.removeSWF() call immediately followed by a
jQuery replaceWith() call
since they're both targeting the same ID, you're bound to have trouble.
swfobject.removeSWF will completely destroy the DOM element with the
specified ID. this means the following code (copied form your page) should
fail:
swfobject.removeSWF('#myId');
$('#myId').replaceWith(newDivFlashContent);
because the element with the ID "#myId" should have been completely erased
from the page before replaceWith is invoked.
see this link for more details about removeSWF:
http://learnswfobject.com/advanced-topics/load-a-swf-using-javascript-onclick-event/
(scroll down to *Replacing a loaded SWF with another SWF*)
- philip
On Mon, Apr 5, 2010 at 6:10 PM, hawken1 <[email protected]> wrote:
> Hi,
>
> I've made this page: http://www.thefilmdivision.com
>
> all pages are populated by flashmovies with html content on top of
> them.
> when clicking a movie link, a new movie is loaded without reloading
> the page.
> Everything seems to work fine in all browsers except Internet
> Explorer.
>
> In internet Explorer 7 and 8, the sound of the first movie starts
> again after a while on top of the sound of the current movie...
>
> It seems like the removeSWF is not working properly for IE or am I
> doing something wrong.
> All movies are looped with actionscript.
>
> How can I solve this?
>
> Best regards/HÃ¥kan Folkesson
>
>
>
> --
> 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]<swfobject%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/swfobject?hl=en.
>
>
--
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.