Hello everyone,
I would like to know how can i capture the delete key event.
I tried the following code snippet, but didn't work out. Can some body
help me out, ASAP.
myCircle1.addEventListener(KeyboardEvent.KEY_UP,delCircle);
function delCircle(event:KeyboardEvent):void
{
if (event.keyCode == Keyboard.DELETE)
{
myCanvas1.removeChild(myCircle1);
}
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---