stop(); myButton.onRelease = myButton_onReleaseHandler; function myButton_onReleaseHandler() { gotoAndStop(2); }