PDA

View Full Version : Flash goto scene from "combination lock"


IdiotXOZ
01-15-2002, 11:01 PM
I have some buttons, on each button is assigned a number value that, when pressed, will add that number to a dynamic text box called "display".when a certain number in the display is reached, i want it to goto a scene specific to that combination of buttons and numbers. i action scriped one of the buttons, the last one to be pressed, to this:

on (release)
if (display == 160010000)
gotoAndPlay("Scene 2", 1)
}

where "Scene 2" is the name of the scene and 160010000 is the value inputed, but it wont goto the scene, does anyone have some useful tips in making this happen? thanx in advance

Billy T
01-16-2002, 12:44 AM
try making it go to a frame label in the same scene and see if that works