addEventListener() requires you to specify what kind of event you're listening for. However, any event dispatched by a UIComponent can be intercepted because UIComponent overrides dispatchEvent() to pass the event to an dispatchEventHook function that you can set. The static var for this hook function is mx_internal and therefore undocumented and subject to change or removal without warning.
Gordon Smith Adobe Flex SDK Team From: [email protected] [mailto:[email protected]] On Behalf Of Nick Middleweek Sent: Friday, February 19, 2010 10:26 AM To: [email protected] Subject: [flexcoders] Detecting Events in Flex Hello, Is it possible to put a generic listener on an Object so that a function is fired and I can trace(event.type) from that function to see exactly what events are being fired and in what order so I can then read about the events to see which is appropriate for my needs? Cheers and have a good weekend! Nick

