Adobe Flash: AS1 Button Actions

Here are the button actions we use in our class when we are using actionscript 1. Remember we learn both actionscript 1 and 3, which are used differently.

Button actions go on the button, not the keyframe:

Play button:

on(release){
play();
}

Stop button:

on(release){
stop();
}

Go to button:

on(release){
gotoAndPlay(“myMovie”);
}

Take note that myMovie is a frame label.

Posted in Adobe Flash.

Leave a Reply