AS3 – Go From Inside Movie Clip to selected Root Frame Number

In Flash using AS3, to navigate back to a specific frame in the root add the following Code to the ACTIONS panel on the desired frame.

MovieClip(parent).gotoAndPlay(2);

(Change 2 to the desired frame number)

Leave a Reply