I have created a timeline with a single play button. When pressed, the button will gotoAndPlay a specific frame (play frame x, stop at frame y). Once the timeline reaches the last frame I want the next press of the button to take you back to the start and have the ability to run through the timeline as before. The problem is, attaching a gotoAndPlay(1); on the last press will take you back to frame 1 but the play button no longer works.
Everything I have is on the main timeline. I can't figure out why the button only works for one round.