hey you guys okay so this is what i got.
I got Scene 1. In scene one is a movie clip called aboutus with code in line one that says:
//—-—-—Set Button Mode-—-—-—\\
this.buttonMode = true;
this.mouseChildren = false;
//—-—-—\Set Button Mode-—-—-—\\
//—-—-—Add Event Listeners-—-—-—-——-\\
this.addEventListener(MouseEvent.MOUSE_OVER, btnOverListener);
this.addEventListener(MouseEvent.MOUSE_OUT, btnOutListener);
this.addEventListener(MouseEvent.MOUSE_DOWN, btnDownListener);
//—-—-—\Add Button Listeners-—-—-—-——-\\
//—-—-—Button Listeners-—-—-—-——-\\
function btnOverListener(e:MouseEvent):void{
aboutus_btn.gotoAndPlay(“btnOver”
;
}
function btnOutListener(e:MouseEvent):void{
aboutus_btn.gotoAndPlay(“btnOut”
;
}
function btnDownListener(e:MouseEvent):void{
.root.gotoAndPlay(150);
}
/////////////////////////////////////////////////////////////////////////////
Problem is this..
function btnDownListener(e:MouseEvent):void{
.root.gotoAndPlay(150);
}
Does not go back to the main movie scene and start to play at 150. What is the AS3 line of code to put within a movie clip to play frame 150 from Scene 1..
THANK YOU
Posted about 1 month ago