Loading an external .txt into a variable (AS3)

Hi, I’m sure it’s very simple, and simplicity is all I’m asking for.

I’m creating part of my code to only be executed if a textfile on my server says it’s okay.
textfile.txt = “Okay=1 or 0”

I can get it to display in a textfield, but I cannot figure out how to simply put it in a variable for further actionscripting…

So how do I get the text from my external file, into a variable:string?

Thanks,
negow