I am working with AS3.0
I am working on a 2 page flash page for a school project. I have to get a button on each page to click back to the other page. The problem is my pages won't stop looping.
The code on my first page (frame 1) is
stop();
enterBtn.addEventListener(MouseEvent.CLICK,black_btn);
function black_btn(event:MouseEvent):void{
gotoAndPlay("home_fl");
}
the code on the 2nd page (frame 190) is
stop();
replay_btn.addEventListener(MouseEvent.CLICK,green_btn);
function green_btn(event:MouseEvent):void{
gotoAndPlay("splash_fl");
}
I also have another stop(); on frame 211
I am working on a 2 page flash page for a school project. I have to get a button on each page to click back to the other page. The problem is my pages won't stop looping.
The code on my first page (frame 1) is
stop();
enterBtn.addEventListener(MouseEvent.CLICK,black_btn);
function black_btn(event:MouseEvent):void{
gotoAndPlay("home_fl");
}
the code on the 2nd page (frame 190) is
stop();
replay_btn.addEventListener(MouseEvent.CLICK,green_btn);
function green_btn(event:MouseEvent):void{
gotoAndPlay("splash_fl");
}
I also have another stop(); on frame 211