Load multiple variables separated by enter - so difficult

Hi guys!

I have a very hard problem and and search and I try everything and nothing seems to work

I need to make something like login component… but only with “number codes” (not USER and PASSWORD).
The user must insert a codenumber (let’s say: “aHnjk68”), and, if this code number is in a txt file, then go to some frame, ok?
Now, I use something like that (without using a TXT file):

[COLOR=green]on (release) {
if (codenumber eq “YujK3” or codenumber eq “KienK7”) {
_level0.gotoAndPlay(215);
gotoAndPlay(6);
} else {
error.play();
stop();[/COLOR]

But this is very annoying because I have about 100 or more number codes, so I need to choose a “dinamic” way…

I need to make a TXT file (codenumber.txt) with a list of numbercodes separated by <ENTER>, like that:

ansHyste
WbCad46
fhyeGtsr
1JkksYsh

etc…

The question is:
is there a way to make flash load or search for 1 of the numbercodes in the TXT?? And when flash find the value (or numbercode) then go to some frame.