Skip to main content
Participant
November 13, 2010
Question

A simple presentation document

  • November 13, 2010
  • 1 reply
  • 259 views

what actionscript will goto and play, individual buttons on separate pages. I have 16 pages and the script I put in stops at page two, not letting me continue. I've checke the instance but I think it's the script I'm using.

btn1_btn.addEventListener(MouseEvent.CLICK, buttonClickHandler1);
function buttonClickHandler1(event:MouseEvent):void {
    gotoAndStop(10);
}

PLEASE HELP I NEED TO SORT IT FOR MONDAY MORNING...

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
November 13, 2010

there's no problem with the code you showed.

if you click btn1_btn after that code executes, the timeline that contains that code will goto and stop on frame 10.

if that fails and you see no error message, you aren't clicking (what flash thinks is) btn1_btn.