Navigating Movie Clip Timelines

Control a Movie Clip inside a Movie Clip inside a Movie Clip

First, we'll create an Event Listener for bBody (a button we have yet to create) that calls the function changeBody on mouse click.

Then, we'll create the changeBody function, which uses the nextFrame(); method to send body to the next frame:

Content on this page requires a newer version of Adobe Flash Player.

Get Adobe Flash player

Now create a simple button with Instance Name bBody. You should put this button on a dedicated buttons layer:

Test that button... the body should switch to frame 2 and stay there:

Content on this page requires a newer version of Adobe Flash Player.

Get Adobe Flash player