# Can someone explain eventListener ... having issues

**URL:** https://forum.kirupa.com/t/can-someone-explain-eventlistener-having-issues/296511
**Category:** Uncategorized
**Created:** [September 15, 2009, 9:00pm UTC](https://forum.kirupa.com/t/can-someone-explain-eventlistener-having-issues/296511 "2009-09-15T21:00:03Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![cry4dawn](https://avatars.discourse-cdn.com/v4/letter/c/71c47a/32.png) [@cry4dawn](https://forum.kirupa.com/u/cry4dawn)
#### Post date: [September 15, 2009, 9:00pm UTC](https://forum.kirupa.com/t/can-someone-explain-eventlistener-having-issues/296511/1 "2009-09-15T21:00:03Z")

</div>

Here is my issue.

```auto

txtQty.addEventListener(TextEvent.TEXT_INPUT, textChange);

public function textChange(event:TextEvent):void 
{
   trace("text changed " + txtQty.text);
}

```

The problem is that when the user types in the text only the character up to but NOT INCLUDING the last character is being seen. So if I have ‘12’ in my text box and type ‘3’ instead of ‘123’ the value is only reading ‘12’ and so on. Am I listening to the wrong event? How do I listen for AFTER the text is in there?
