On(keyPress) ISSUES!

ok, so I am trying to make it possible for when a user is done typing in a textbox for them to be able to just press enter and have a series of actions run and then they are taken to the next page or something…

so heres what ive got.

these actions are on my button.

on(keyPress “<ENTER>”){
trace(“got it”);
domainN = domain_name.text;
if(domainN.indexOf(“www.”) > -1){
domainN = domainN.slice(4);
}
li = domainN.indexOf(".");
if(li > -1){
domainN = domainN.slice(0, li);
}
_global.processDomain(domainN, this.tld.text);
}
on(release){
domainN = domain_name.text;
if(domainN.indexOf(“www.”) > -1){
domainN = domainN.slice(4);
}
li = domainN.indexOf(".");
if(li > -1){
domainN = domainN.slice(0, li);
}
_global.processDomain(domainN, this.tld.text);
}

however, this is not working…i have also tried to to disable the shortcut keys in flash…no luck…any help would be much appreciated…

blessings
travis

I also have the same problem and can’t understand why it is not working the inKeyPress method!!