/ Published in: ActionScript 3
There is no built-in way of preventing the user pressing the Enter Key in a TextArea Component (in a standard TextField you can set multiline = false). Instead, you need to listen for the CHANGE event and then remove the Carriage Retun (\r) character.