keyStroke function not working

Okay, this seemed simple enough… but somehow I seem to have screwed it up. I have this code attached to a button. next to the button is an input text box, if that matters in any way. Now, if I click on the button, sure enough, I jump to the next scene. but I can hit the enter key a thousand times(trust me on this one) and it just refuses to go. what am I missing?

on (release, keyPress “<Enter>”) {
nextScene();
}

Thanks in advance
Sim

Your AS is valid. Have you clicked somewhere on the .swf before you hit enter?

Yeah, i tried that also, before I posted, I’ve tried clicking in and out of the text box, I even pushed the button, then pushed the button in the second scene that takes me back to the first scene where i login from. Is there anyway that the stop command on a keyframe in the animation could stop it? In about 5 seconds I’m even going to try restarting my computer and trying it again. The only other possible thing I could think of is maybe I have a case problem in my string, as I’ve found before fmx2004 is kind of fickle on that.

Still doesnt work after program restart :frowning: