If you are looking for 'global' application keyboard events. you might want
to attach your listeners at the stage level. Remember though, that your
application will have to have focus in order to process stage events. If you
are looking for operating system level hooks. you are going to hit a wall.
Being able to capture true 'global' key/mouse events (at the operating
system level) has unimaginable security implications. I think that it's safe
to say that that is where the line will be drawn for some time. Global
application events = no problem. Global operating system events = no touchy.

 

Rick Winscot 

 

 

 

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Jeffry Houser
Sent: Tuesday, March 04, 2008 6:08 PM
To: [email protected]
Subject: Re: [flexcoders] Global keyboard capture?

 


In my experience (which was actually with AIR, not a Flex browser 
based app) they are. Listening to keyboard events at the main 
windowedApplication did nothing.

Also, I'll add that any "Caught" keyboard event did not continue to 
bubble up to the main WindowedApplication (unless you rebroadcast).

Troy Gilbert wrote:
> 
> 
> > Keep in mind that something must broadcast the event. a TextInput
> > will broadcast a keyboard event. A container or Application will not.
> 
> Keyboard events are broadcast by the player. I'm looking to grab (or
> look at) all of them. It shouldn't be dependent on anyone broadcasting
> them.
> 
> Troy.

-- 
Jeffry Houser
Flex, ColdFusion, AIR
AIM: Reboog711 | Phone: 1-203-379-0773
--
Adobe Community Expert 
<http://www.adobe.com/communities/experts/members/JeffryHouser.html>
My Company: <http://www.dot-com-it.com>
My Podcast: <http://www.theflexshow.com>
My Blog: <http://www.jeffryhouser.com>

 

<<image001.jpg>>

<<image002.jpg>>

Reply via email to