making a keypad lock in flash....?

Honky D

New member
i was wondering if any of you know how to make a key pad lock on flash

i have 9 keys.(1-9)
then i have 3 possible numbers for the combination.

i named the first "dynamic text" box as number1

and i put

on (press) {
if (number1==0) {
_root.number1=1
} else {
_root.number2=1
}
}

so my way only works if i have 2 possible numbers, well, as a far as i know, can any one help me?
 
Back
Top