I have listed my setup below.
Results:
I have confirmed that the initialize event on the parent object adds
the event.
Clicking the item on the grid, fires the internal handler and I have
confirmed that it dispatches the custom event. However, the parent
event handler for the custom event
: Wednesday, August 06, 2008 3:38 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Custom Events
I have listed my setup below.
Results:
I have confirmed that the initialize event on the parent object adds
the event.
Clicking the item on the grid, fires the internal handler and I have
I modified the call as follows:
pdb:CategoriesPnl id=CategoriesPnl initialize=CtgsPnlInit
(event);/pdb:CategoriesPnl
private function CtgsPnlInit(event:Event): void
{
this.addEventListener('dgItemClick', CtgsPnlDGItemClick)
Alert.show(this.hasEventListener(dgItemClick).toString());
}
3 matches
Mail list logo