-1

How do I get the play head to consecutively go through the timeline containing objects in 4 frames on the click of a button using actionscript 3

SoloWalker
  • 41
  • 7

1 Answers1

1
  1. Make sure that you have a keyframe at each frame.
  2. Frame one: add this script
stop();
yourButtonName.addEventListener(MouseEvent.CLICK, goToNextFrame);
function goToNextFrame(e:Event):void {
   nextFrame();
}
Amy Blankenship
  • 6,485
  • 2
  • 22
  • 45