Is it possible to create a password login where as you have 6 numbers as the correct login (example: 633456) but the user can enter them in any order and it allows access? (for example they key in 334566 and it allows access)
...any input/suggestions would be great.
possible to add if/else statements to this password approach?:
on (release) {
if (password == "123456") {
nextFrame();
} else {
gotoAndStop(3);
}
}
or maybe adding a series of if/else's with this approach?:
on (release) {
total = Number(firstnumber) + Number(secondnumber) + Number(thirdnumber) + Number(fourthnumber) + Number(fifthnumber);
this.box._visible = false;
gotoAndStop("one");
}
thanks!
...any input/suggestions would be great.
possible to add if/else statements to this password approach?:
on (release) {
if (password == "123456") {
nextFrame();
} else {
gotoAndStop(3);
}
}
or maybe adding a series of if/else's with this approach?:
on (release) {
total = Number(firstnumber) + Number(secondnumber) + Number(thirdnumber) + Number(fourthnumber) + Number(fifthnumber);
this.box._visible = false;
gotoAndStop("one");
}
thanks!