Re: [flexcoders] dispatchevent question when in a custom component.

2007-06-06 Thread Roman Protsiuk
Why don't you use custom events? I use standard events in my components only in situations like something is changed - we notify about it using Event.CHANGE. But in most custom components custom events used (especially if some event specific information is sent along with it). R. On 6/5/07,

[flexcoders] dispatchevent question when in a custom component.

2007-06-05 Thread Romain
Hi, I am making a custom mxml component, composed of a datagrid and a few buttons. I am potentially dispatching the following 2 events: [Event(name=btnClick, type=flash.events.MouseEvent)] [Event(name=rowClick, type=mx.events.ListEvent)] These events are thrown by event handlers on the actual