Flash MX 2004 Professional Help Needed

Hi All,
First time post. I am an e-Learning trainer who is building my first application and I ran into a problem no one seem to have a solution for. Please take a peek and tell me what I have missed.

I am building a virtual application that replicates on of our work programs that new employees need to learn. The short story is this. The user must enter a specific login script into an Input Text Field. I than want them to press only the Inside Enter key( As that is how this program is designed). When the Enter key is pressed, I need flash to verify the Variable which I have named “loginScript”, if the user entered it correctly it will direct it to a specific frame label, if not it will go to another. ":to: " Sorry for the long winded intro. The code I have used will work fine if I launch the SWF inside an HTML page, but when I launch it via a Blank_MC, the enter key does not react. Here is the code… I am at the end of my ropes with this, so any help will be appreciated.

on (keyPress “<Enter>”) {
login = loginScript
if (loginScript == “hello xo1234,custrel.tahp”) {
_level.gotoAndPlay(“login2”);
} else {

_level.gotoAndPlay(“error1”);

Thank you in advance…