Graphic Loops while Animation is Stopped

Started by: jdogg | Replies: 0 | Views: 336

jdogg
2

Posts: 1,889
Joined: Jul 2012
Rep: 10

View Profile
Aug 7, 2012 1:08 AM #712585
So I made a graphic. I want it to keep running continuously, but I also want the animation to stop until the viewer clicks a button. Right now the graphic is 10 frames long. First I made the graphic just ten frames, and putting the stop(); code on the whole frame. Next I tried to make it ten frames and a keyframe at the end. I then put the stop(); code on the single keyframe at the end. It still didn't work. Any help?

Edit: Figured it out. It was really quite easy. For future reference, all I had to do was make the extra keyframe at the end have the code gotoAndPlay(2); (2nd frame was where the graphic started)