I think in that situation you are actually going to end up using the Key listener.

http://www.adobe.com/support/flash/a...ionary394.html

TextField only seem to have two built in events onChange and onScroll.


Hopefully some other may chime in on this one.

Quote Originally Posted by calmchess
I have request .....I'd like to learn more about event handlers with oop because I currently have a oop script that extends an input text field or a dynamic text field its an chat application with a submit button but I can't figure out for the life of me how to make it submit by pressing the enter key instead of always having to click on the submit button........I'd love a nice tutorial on event handlers particularly keyboard button press for specific keys using oop....to be clear the event handlers would be part of the oop .as file.