Contriling a movie clip from a movie clip

Hi =)

ok here is what I am doing and need help with.

on my main time line I have 2 movie clips. I have a movie clip that contains all my navigation that is avaibe at all times.

and on frame 15 I have a movieclip that is an empty container (called “container”)that has a external swf files being loaded into it (portfolio.swf)

in my navigation movieclip I have a button that reads
on (release) {
_root.gotoAndStop(15);
}

perfect! does exactly what I want it to, now…
I have another button in the same navigation movieclip that I want to do the same thing but I want it to go to frame 2 of the portfolio.swf instead of starting at frame 1.

hope I have given enough info, thanks in advance

Untested, but should work in theory . . . :beam:
on 2nd button:


on(release){
_root.container.gotoAndStop(2);
}

Of course, this will only work if portfolio.swf is already loaded into container. And assumes that you want to go to frame 2 of the maintimeline of portfolio.swf, and not some movie clip INSIDE of portfolio.swf

:hr:

so if it were in a movieclip inside of portfolio.swf (called “slideshow” lets say) would it then be

on(release){
_root.container.slideshow.gotoAndStop(2);
}

thanks for your help

Yep! Start from the outside and work your way in. It’s like those little nested doll things. The biggest one on the outside is _root and refers to the main fla you are working with. Then you just start digging in until you reach the smallest one in the middle - the movie clip you want to apply the action to.

:hr: