Hi all, i try using keyUp listener and substring the text but sometimes i still can use the enter keyboard.
if(event.keyCode == Keyboard.ENTER){
var txt:String = (event.currentTarget as TextArea).text;
(event.currentTarget as TextArea).text=txt.substring(0,txt.length-1);
}
Can anyone help me?
thanks in advance

