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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

going to new scene from within a MC

Status
Not open for further replies.

funkymonk

Technical User
Dec 18, 2000
588
GB
Hi all,
I have this problem which seems so simple but I just can't work out why it's not working. OK, here we go.
I have a movie clip on the main time line of scene 2(main_movie). On the time line of the movie clip (the navigation) is a button. I want to be able to go to scene 3 when you click on this button and it won't. Here is the ActionScript on this button.

// this controls the roll over movie

on (rollOver) {
mc_vision.gotoAndStop("over");
}
on (rollOut) {
mc_vision.gotoAndStop("up");
}
// end of roll over
// this goes to scene 3 (vision)

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


Be really cool if someone can show me the error of my ways.

Rod B-)
 
Roda,

Try targeting a frame label (in scene 3) rather than using a frame number!
Basicly label your frame 1 with some label you'll use in the goto action.

;-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top