Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

controling another mc on the stage...

Status
Not open for further replies.

aamaker

Programmer
Jan 20, 2002
222
US
I have a movie that currently has two scenes... scene one is an intro of sorts, then scene two loads (mid way it fades in a simple mc (Movie clip A)) then it stops with a simple actionscript stop command...

Now, heres where Im running into trouble... have another MC that holds navigation (Movie clip B)... when I click a button in this navigation mc I want the OTHER mc on the stage to go to a specific frame in that other mc (Movie clip A)

I've tried the following to get 'MC A' to move to frame 20 (of that particular MC) when the button is clicked = but I get nothing.

Code:
on (release) {
		_root.photo.gotoAndPlay(20);
}
 
I think I have it - the trick was in assigning an instance name.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top