# \<Enter\> problem

**URL:** <https://forum.kirupa.com/t/enter-problem/197355>\
**Category:** flash\
**Created:** [August 15, 2006, 8:23pm UTC](https://forum.kirupa.com/t/enter-problem/197355 "2006-08-15T20:23:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![berkoWitZ](https://avatars.discourse-cdn.com/v4/letter/b/b9bd4f/32.png) [@berkoWitZ](https://forum.kirupa.com/u/berkoWitZ)\
**Post date:** [August 15, 2006, 8:23pm UTC](https://forum.kirupa.com/t/enter-problem/197355/1 "2006-08-15T20:23:32Z")

</div>

Hi,

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

```php
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!!
