Sorry, I can locate the listener and can individually unsubscribe events for that listener, was kind of looking for a forloop style situation where it can simply iterate over all events a particular object has in its subscription and simply remove them.
On 4/26/05, Gordon Smith <[EMAIL PROTECTED]> wrote: > > I guess I don't understand your question. Why can't you keep track of the > event listeners you added by calling addEventListener(), and then remove > them with removeEventListener()? > > - Gordon > > > -----Original Message----- > From: [email protected] [mailto:[EMAIL PROTECTED] > Sent: Monday, April 25, 2005 11:06 PM > To: [email protected] > Subject: [flexcoders] EventDispatcher Question. > > Hi all, > > Just pondering a bit, but does anyone know if EventDispatcher has a > way of removeing all listener objects from a host object? I've > resigned to the fact of using an adhoc addon to do this but would love > to hear from anyone who's found a way to do this? > > ie removeEventListener(LO); > > -- > Regards, > Scott Barnes > http://www.mossyblog.com > http://www.flexcoder.com (Coming Soon) > > Yahoo! Groups Links > > > Yahoo! Groups Links > > > > > -- Regards, Scott Barnes http://www.mossyblog.com http://www.flexcoder.com (Coming Soon) Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

