Does anybody know of a way that I can have the “abcd” --code below-- be anything? meaning I want to modify this code so that if any single letter or number (or series of letters or numbers) entered into the Textbox (input box) will then go to “nameentered” and if nothing is put in the box it will go to namemissing, well it does that part. I just don’t want to have to know exactly what letters they are going to put into the input textbox to try to match.
on (press) {
if (textbox.text.indexOf(“abcd”) != -1) {
_root.gotoAndStop(“nameentered”);
} else {
_root.gotoAndStop(“namemissing”);
}
}