Multiple loadmovie() ends up with multiple videos played at the same time!
Posted
by David
on Stack Overflow
See other posts from Stack Overflow
or by David
Published on 2010-05-24T20:26:51Z
Indexed on
2010/05/24
20:31 UTC
Read the original article
Hit count: 258
Hi, i'm using loadmovie() to load a youtube video player inside my flash website but when i load another video the old one doesn't stop, so i tried unloadmovie to destroy it but it seems that i did a mistake in my code
This is how the code looks to stop the old one an load the new:
vloader.unloadMovie();
vloader.loadMovie("http://www.youtube.com/v/Alw5hs0chj0&hl=fr&fs=1hJ-mPcGtC");
How to do that? please don't suggest me to use other objects or classes, i only want to edit that code.
Note: I have an empty CLIP called "vloader" where i load the video player.
Thank you
© Stack Overflow or respective owner