on (keyPress "<Left>") { this._x -= 10; } on (keyPress "<Right>") { this._x += 10; } on (keyPress "<Enter>") { trace("Ого! Вводом балуетесь."); }