The dispatchEventHook will only catch events dispatched by UIComponents.

 

Gordon Smith

Adobe Flex SDK Team

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Josh McDonald
Sent: Wednesday, July 16, 2008 9:34 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Is it possible to listen to *all* events
without hacking the SDK?

 

Cool, I didn't know about that, cheers :)

On Thu, Jul 17, 2008 at 2:10 PM, reflexactions <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> > wrote:

Well you can at least catch all events dispatched on a particular
component, and without subclassing or patching.

You assign a callback function to the dispatchEventHook property.
It takes two params the event and the target and is called
immediately prior to the actual dispatch.



-- 
"Therefore, send not to know For whom the bell tolls. It tolls for
thee."

:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>  

 

Reply via email to