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]
 
-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of ben.clinkinbeard
Sent: Wednesday, November 28, 2007 10:09 AM
To: flexcoders@yahoogroups.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.

Reply via email to