PDA

View Full Version : button inside MC


ASG
11-28-2005, 12:14 AM
I have a button inside a movie clip but was wondering how to make that button go to another scene out side the movie clip eg. if there is a MC with a button inside it on Scene 1 and i want that button to go to Scene 2 out side of the MC what script would i use? i have tried this
on (release) {
gotoAndStop("Scene 2");
}

but that doesnt work

amen0
11-28-2005, 12:31 AM
on (release) {
_root.gotoAndStop("Scene 2",1);
}

darkzak
11-28-2005, 12:39 AM
Using "Scene 2" didn't work for me inside the movieclip but putting in the number of the scene did:

on (release) {
_root.gotoAndStop(2,1);
}