<Enter> problem

Hi,

this is the problem: I have 2 input boxes and a “GO” button with this action applied:

on (release, keyPress "<Enter>") {
	if (password == "kirupa" && username == "berkowitz") {
		getURL("http://www.kirupa.com", "_self");
}

…and it works great, BUT only if I click the “GO” button, it doesn´t work when I press “Enter”, it only works when I change to AS1 but I need to use AS2 for this movie. Why is this happening?

Thanks!!