# Dynamic text field input goto frame

**URL:** <https://forum.kirupa.com/t/dynamic-text-field-input-goto-frame/287639>\
**Category:** Uncategorized\
**Created:** [May 4, 2009, 4:25pm UTC](https://forum.kirupa.com/t/dynamic-text-field-input-goto-frame/287639 "2009-05-04T16:25:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![neas](https://avatars.discourse-cdn.com/v4/letter/n/dec6dc/32.png) [@neas](https://forum.kirupa.com/u/neas)\
**Post date:** [May 4, 2009, 4:25pm UTC](https://forum.kirupa.com/t/dynamic-text-field-input-goto-frame/287639/1 "2009-05-04T16:25:18Z")

</div>

Hi,  
I want to be able to have these numbers read, and then it goes to the specific frame, if I change Event.ENTER\_FRAME it works, but then it is always looking for the rfidread function. Any ideas?

```auto
login.addEventListener(Event.CHANGE,rfidread);

//READER FUNCTION 
function rfidread(e:Event):void {
    if (login.text == "17007ee9bb") {
        gotoAndStop("home");
    }
    if (login.text == "17007ee9dd") {
        gotoAndStop("home2");
    }
}

```

Thanks,  
neas
