|
This works for a "click" event
because it's a bubbling event that will "bubble up" the parent chain
all the way to the Application. It wouldn't work for a "change"
event, which is non-bubbling. However you can use the "capture phase"
of event processing to give the Application a crack at an event. If you
register an event handler with addEventListener() and pass true as the
useCapture parameter, then the event processing will start at the Application
(well, actually at the SystemManager) and go DOWN the parent chain to the
target object. - Gordon From: Here is a sample I wrote quicky. Hope it helps. <?xml
version="1.0" encoding="utf-8"?> <mx:Script> trace(event.type
+ " " + event.target); <mx:TabNavigator> </mx:Application>
On 3/16/06, KOT_MATPOC
<[EMAIL PROTECTED]>
wrote: Hello,
|

