can anyone let me know how to write key board events
ex: when press the enter key some other operation should be occur
thanks in advance
These links should solve your problem:
If this post answers your question or helps, please mark it as such.
you should listen leyBourdEvents and write a hadler to do what you want.
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" keyUp="myKeyUpFunction(event)" keyDown="myKeyDownFunction(event)">
private function myKeyUpFunction(event:KeyboardEvent):void
// do something
private function myKeyDownFunction(event:KeyboardEvent):void
// do something else