Цитата:
|
как блокировать с помощью keyListener нажатие клавиши Enter
|
никак.

Код AS1/AS2:
// если ctrl_pressed вешай событие
txt.onChanged = function(){
var char:String = this.text.substr(-1,1);
if( char == "\r" ){
trace('Вырезаем перенос')
this.text = this.text.substr(0,-1);
}
}