How Stop sound of Flvplayer or close Video after Skip
hi , i have a FLvplayer to play an intro in first frame of my project
i put a skip button in first frame too for users that dont want to see intro , an when i click on this button i use simple "gotoAndPlay(2);"
but i have problem with sound , cause the sound of my video still playing in frame 2 ( after click skip )
i try to add "SoundMixer.stopAll();" function to my skip button and this work for stop sound of flvplayback but it cause conflict to my mp3 player in frame 2 ( the script
i dont know why this happend ....
my video have instance name "intro" and i have
intro.addEventListener(Event.COMPLETE, instancecomplete);
function instancecomplete(event:Event):void {
gotoAndStop(2)
}
to simply force to gotostop frame 2 after Intro video end ...
in other means have two script :
1- Event.COMPLETE to say when intro video end then go to another frame (2) ...
2-simple goto script in my skip button on the same frame as intro movie is to say go to another frame (2)
the problem come when i use skip button and it seems the video still played in background and when end the Event.COMPLETE run too !!
so what script i need to use for close this video for my skip button ? this may solve my sound of flv player too
thanks
