Start a mc in another mc?

I’ve got a couple of movie clips on the main timeline. On the play button for mc1 I want to start mc2 by adding an action like:

on(release) {
&nbsp &nbsp &nbsp &nbsp mc2.gotoAndPlay(2);
}

the problem is:

target not found: Target="_level0.mc2" Base="_level0"

that sucks! basically I’m trying to start a movieclip from within an other… how?

Not gone yet !!
Put _root.mc2…

pom 0]

What you’re trying to do is pretty common, but always brings the same issue. Seems simple, but it happens often. In order to make calls to another mc, the MC has to exist on the timeline AND on the frame you’re calling the movie. Seems ridiculous, but it happens frequently.

Otherwise, you will be using something like attachMovieClip or DuplicateMovie Clip to get the desired action. So… _root.mc2 will not help unless the movie exists on that frame.

Pom, please correct me if I am wrong.

OK, you may be right Iammontoya (I mean what you said it totally correct) but as he said

basically I’m trying to start a movieclip from within an other
I thought it may have something to do with the path. And now that I think of it, are you sure you gave an instance name to mc2 ??

pom 0]

You’re right, POM. I had to check a couple of times to see if I got the question right. Still don’t know. :slight_smile:

And there it was -so easy!!

I hadn’t given the movie clip an instance name (didn’t know about it)

Thanks for your help!!! Yeah!