Controlling a loaded movie clip

Hi i am trying to give a command to a loaded into a level mc
to goto a specif frame.
this is the original command that is attach to a Button (without the gotoandstop action)
on (press) {
loadMovieNum(“photographers.swf”, 2);
loadMovieNum(“massimo.swf”, 3);
unloadMovieNum(4);
}
i want massimo.swf to load and goto a specif frame in massimo.swf.
I tryed the
massimo.gotoandstop(10);
_root.massimo.gotoandstop(10);
_parent.gotoandstop(10);

and i also tryed to define the mc
var wichcliptouse=“massimo”;
this[wichcliptouse].stop();
i also used the [ and " on all the _parent actions etc.
So it is very confusing to me , do i have to change the level dept of massimo.swf? please help
thanks a lot guys
max

Hi,

[AS]
_level3.gotoAndStop(10);
[/AS]

However it takes a fraction of a second for the level to be created when the movie gets loaded into it, so you can’t immediatly control the loaded movie. so using the gotoAndStop action directly after the loadMovieNum, like this,

[AS]
loadMovieNum(“massimo.swf”, 3);
_level3.gotoAndStop(10); // it’s likely level3 hasn’t had time to be created yet
[/AS]

will fail.

Rather than throwing a ball to _level3 and hoping it’s there to catch it, you’re better having _level3 ask for the ball when it’s ready.

e.g.

_global.goWhere=10

then, in the first frame of the loaded swf

gotoAnd Stop(_global.goWhere)

Thanks a lot for your help.
Massimo

Thanks a lot the _global works perfect , you guys are the best.
massimo