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

DropDown button to new scene 1

Status
Not open for further replies.

theKeyper

Technical User
Joined
Jun 11, 2003
Messages
79
Location
AU
Sorry about this one, a real newbie question, I'm pretty sure it must have been covered before but I've been searching for ages and nothing's fixed it. Baisically, I've got a drop-down menu and I want a button on the menu to gotoandplay a different scene. When I click the button however, my gotoandplay just dosn't work. I can get a trace to work, so I know it recognises it, but for some reason it dosen't go to a scene. I have tried:

on (release) {
gotoAndPlay("Argument1.1", "one_one");
}


and


on (release) {
_root.gotoAndPlay("Argument1.1", "one_one");
}

with "Argument1.1" being the name of the scene and "one_one" being a frame label in that scene. I know it must be pretty simple so thanks for humoring me. Cheers,
-Keyper
 
Forget about targeting scene names, even when everything is on the main timeline and where in theory it should work!
Use an unique labeled frame as a target alone... And add _root (from movie clips) or _level0 to your path (from within loaded external movies on other levels)...

on (release) {
_root.gotoAndPlay("one_one");
}

on (release) {
_level0.gotoAndPlay("one_one");
}
 
Awesome, Thanks heaps mate!

-Keyper
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top