I am making a animation(game) through Adobe Animate.
I want to make my character look as if he is speaking by making a frame-by-frame animation in the internal timeline so that it can repeat until he is done speaking.
If the last frame has played, and the loop has terminated, I want to go to the next frame on the main timeline.
However, I have no idea what code to insert (JavaScript) to make this happen.
I tried "MovieClip(root).gotoAndStop(2);" but it doesn't work.