import flash.ui.Keyboard;
stage.addEventListener(KeyboardEvent.KEY_DOWN, KeyListener);
private function KeyListener(evt:KeyboardEvent):void
{
if(evt.keyCode == Keyboard.ENTER)
{
//evaluate done key code
}
}
Once you set the keyboard listener for stage, you can crack the “done” button for a textField input.
Hope this snippet helps.





















