Video clips all play when I hit the back Button
I am using a group of MovieClips buttons to navigate my program. (Menu) (Back) (Next). When I go through the frames and hit the back button all the Movieclips play. In this World War One program I have 4 video movie clips with sound and 10 animation clips. Hitting the (Back) button makes all the movieclips play.
Code for (Back) button:
previous_btn.addEventListener(MouseEvent.CLICK, RootPrevious);
function RootPrevious(e:MouseEvent):void {
MovieClip(root).prevFrame();
}
Code for Next button:
next_btn.addEventListener(MouseEvent.CLICK, RootNext);
function RootNext(e:MouseEvent):void {
MovieClip(root).nextFrame();
}
Code for Menu button:
menu_btn.addEventListener(MouseEvent.CLICK, RootMenu);
function RootMenu(e:MouseEvent):void {
MovieClip(root).gotoAndStop(1);
}Code for MovieClips - A stop and play button.
StopTony_btn.addEventListener(MouseEvent.CLICK, StopCam);
function StopCam(Event: MouseEvent): void {
stop();
}
PlayTony_btn.addEventListener(MouseEvent.CLICK, PlayCam);
function PlayCam(Event: MouseEvent): void {
play();
}
When I take out the (Back) button everything works well. Is there a way around this?
Thanks
