I’m trying to play YouTube videos inside my flash movie.
I can get it to load the YouTube player and play the video but the problem is that I cant get it to stop.
When I unload the MC I loaded the video into It deletes the player completely but the audio keeps playing.
I get a bunch of security warnings when I play it locally, but when I upload it to the server it still doesn’t work.
I’m very confused with this one.
Here’s the AS I am using:
movieMC.loadMovie(“http://www.youtube.com/v/q-wf2pP7T0Y”);
closeBTN.onPress = function(){
unloadMovie(“movieMC”);
}
I have attached a simple example.
Appreciate any help