[flexcoders] Am I the only one who wishes EventDispatcher exposed its listeners?

2007-11-28 Thread ben.clinkinbeard
Sometimes it would be really nice be able to access a list of currently attached listeners by doing something like myButton.listeners. Having that return a collection of objects that expose the event type and handler method would be nice and it doesn't seem like it would be that hard to implement

Re: [flexcoders] Am I the only one who wishes EventDispatcher exposed its listeners?

2007-11-28 Thread Doug McCune
I can see this functionality being useful for various reasons. Ben, are you thinking you want to track down any listeners that are left over that are preventing garbage collection? Doug On 11/28/07, ben.clinkinbeard [EMAIL PROTECTED] wrote: Sometimes it would be really nice be able to access

RE: [flexcoders] Am I the only one who wishes EventDispatcher exposed its listeners?

2007-11-28 Thread Samuel R. Neff
.NET does this and it comes in handy (although usually in situations that would not apply in Flex, such as threading and switching contexts). I agree that if data is stored internally, it should be made available. Sam --- We're Hiring! Seeking a

RE: [flexcoders] Am I the only one who wishes EventDispatcher exposed its listeners?

2007-11-28 Thread Jim Hayes
] On Behalf Of Doug McCune Sent: 28 November 2007 14:15 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Am I the only one who wishes EventDispatcher exposed its listeners? I can see this functionality being useful for various reasons. Ben, are you thinking you want to track down any listeners

RE: [flexcoders] Am I the only one who wishes EventDispatcher exposed its listeners?

2007-11-28 Thread Gordon Smith
://bugs.adobe.com/flex. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard Sent: Wednesday, November 28, 2007 6:04 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Am I the only one who