Check for the key code 113 which refers to the F2 key:

<mx:TextInput keyDown="if (Key.isDown(113)) alert('F2 pressed');" />

Dirk.

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 15, 2005 2:09 PM
> To: Flex Coders
> Subject: [flexcoders] TextInput Focused F2
> 
> 
> 
> hi,
> i wish when user press for example F2 into TextInput show a 
> popWindow, 
> is it possible with flex/actionScript?
> Can you give me please a bit code
> Thank's
> Devis
> 
> 


Reply via email to