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

Menu to navigate between scenes

Status
Not open for further replies.

sigalit

Programmer
Mar 27, 2005
2
IL
I would appreciate help with the following question: I have a movie clip menu comprised of buttons that only unfolds when needed. I want to navigate with these buttons between the various scenes of my movie. When I attach script to each button, I can't just do "gotoAndPlay" and give the scene name, as I am writing this script from inside the movie clip the button is in. I'm stuck and can't think of a solution. Thank you, Sorrel
 
Label the first frame (or whatever frame you're aiming!) of each scene with a unique and descriptive label, such as start3 (original no?) for targeting Scene 3. Then on your buttons use something like...

on(press){
_root.gotoAndPlay("start3");
} Regards,

new.gif
 
Dear oldnewbie,

Thanks so much for your reply - I was trying what you suggested but with scene names, and not lables..

Best regards,
Sorrel
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top