External....gotoandplay()

hy!

I have this situation:

  • main movie
  • external movie
  • 1 mc into external movie

I load the external movie into main movie and i want to put a gotoandplay() in mc of the external movie, to the external, like this:

[AS]on (release) {

   _root.gotoAndPlay (45);

}
[/AS]

but it takes action in the main movie and not in external movie…

How can do it ??

thks

I’m not exactly sure what you’re trying to do, but if I’m not mistaken then I’m thinking you’re trying to go to frame 45 of the movieclip inside the external movie? If that’s the case then try something like this. [AS]on (release) {
this.gotoAndPlay (45);
}
[/AS] or
[AS]on (release) {
_parent.gotoAndPlay (45);
}
[/AS]

Try one of those and see if it works.

electrongeek !!! THKS !!

the second option works as i want !!
_parent.gotoAndPlay (45);

sorry but my english isn’t very good :slight_smile:

no problem =)