Go to movie clip frame?

Quick question… I feel stupid but can’t for the life of me get this to work (and I’ve searched and searched…)

I need to have a movie clip go to a certain frame upon getting to a certain frame in the main timeline. How do I do this?

Thanks!

When it gets to the certain frame put the following code on it:

gotoAndPlay(x);

where x = the number of the frame you want it to go to.

Use gotoAndStop(x); if you want the movie to stop when it gets there.

Wait… worked with the number, not with the label… smack self

Is that supposed to happen? I mean it works, so I’ll just keep doing that, but I thought that’s what labels were for…

You have to put quotes for the labels [AS]gotoAndPlay(“label”);[/AS]
:slight_smile: