-
back button close video
Hi I'm Chris and I'm new in AS3...
i have a problem with a back button
when i click BACK the video of the FLV video component continue and also when i'm back in the home page i can hear the sound...how can i stop it
here is the code of my back button
stop();
back_btn.addEventListener(MouseEvent.CLICK,backvid eo);
function backvideo(event:MouseEvent):void {
gotoAndPlay("1");
}
the video instance name is my_video
I try to put
my_video stop();
but nothing
If you can helpe it'll be great
-
Senior Member
add this to the button:
import flash.media.SoundMixer;
SoundMixer.stopAll();
unload the movie clip your video is in.
search for it there are About 142,000 results when I googled it. Hope that helps
-
thanks
it's working perfectly many thanks...i'm really happy
mamma mia cool
ciao Chris
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|