Disable ENTER key in textfields

Hi everyone.
I’m creating a Flash GUI which has some forms in it.
I have several “field types” such as Radios and Checks, but I also have a field type of my own called “multiVal”.
The purpose of the field is to allow the user to enter several values in one field, by pressing the Enter key. For this, I’m using a textArea component.
I already wrote the code for the dynamic sizing of the textArea, and the Key Listeners, and it all works fine. My only problem is when the user presses&holds the ENTER key in the text field, because while my functions only count it as one press, the field itself is field with several line breaks.

Any help will be most appreachiated!

Please Note: I am NOT interested in making it the other way around (having the function to add several “values” as long as the key is down). My GUI’s specifications require that it only adds a SINGLE entry per key press.

I know I can probobly get around this by diving into the UIObject class, or textField class, but I’d really like to find a more effecient way than this.

hehe, I dont think that some serius person is going to start pressing the enter key to have fun with your textfield …
maybe you can simply delete all the breaks at the end of the text field to instert a new single one every time the enter key has been pressed