you can maybe add a hook to dispatchEvent in UIComponent?

http://www.darronschall.com/weblog/archives/000273.cfm

DK

On Nov 28, 2007 12:31 PM, Samuel R. Neff <[EMAIL PROTECTED]> wrote:

>
> you can create your own class like TransparentEventDispatcher which
> implements IEventDispatcher and internally contains an EventDispatcher
> object and maintains it's own list of listeners when they are
> added/removed.
>
> Feasible but shouldn't be necessary. Of course if you need to combine this
> functionality with a class that has it's own inheritance hierarchy
> already,
> like UIComponent, then you're SOL.
>
> HTH,
>
>
> Sam
>
> -------------------------------------------
> We're Hiring! Seeking a passionate developer to join our team building
> Flex
> based products. Position is in the Washington D.C. metro area. If
> interested
> contact [EMAIL PROTECTED] <careers%40blinemedical.com>
>
> -----Original Message-----
> From: [email protected] <flexcoders%40yahoogroups.com> [mailto:
> [email protected] <flexcoders%40yahoogroups.com>] On
> Behalf Of ben.clinkinbeard
> Sent: Wednesday, November 28, 2007 10:09 AM
> To: [email protected] <flexcoders%40yahoogroups.com>
> Subject: [flexcoders] Re: Am I the only one who wishes EventDispatcher
> exposed its listeners?
>
> > I suppose we could monkey-patch a listeners collection... dare me? :)
>
> Ugh, I guess we can't since the source isn't available.
>
>  
>



-- 
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?

Reply via email to