[flexcoders] Re: Custom Events

2008-08-06 Thread rss181919
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

RE: [flexcoders] Re: Custom Events

2008-08-06 Thread Tracy Spratt
: 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

[flexcoders] Re: Custom Events

2008-08-06 Thread rss181919
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()); }