Hey Mike,
If I've understood the previous mails correctly you wish to implement
IEventDispatcher in a class that already derives from another? (i.e. your
ModelLocator).
If this is the case, then in your class that implement IEventDispatcher you
want to create an instance of EventDispatcher, for
Just call dispatchEvent() (e. g. dispatchEvent(new Event(Event.CHANGE))) in
any class that implements IEventDispatcher (e. g. all the EventDispatcher
successors). Note, that UIComponent and all its successors implement
IEventDispatcher, so dispatchEvent() could be called in any subclass of Box,
somewhere.
Tracy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Sergey Kovalyov
Sent: Tuesday, January 09, 2007 2:28 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Dispatching an Event from a Class
Just call dispatchEvent
: [flexcoders] Dispatching an Event from a Class
Just call dispatchEvent() (e. g. dispatchEvent(new Event(Event.CHANGE)))
in any class that implements IEventDispatcher (e. g. all the
EventDispatcher successors). Note, that UIComponent and all its
successors implement IEventDispatcher, so dispatchEvent
*Subject:* Re: [flexcoders] Dispatching an Event from a Class
Just call dispatchEvent() (e. g. dispatchEvent(new Event(Event.CHANGE)))
in any class that implements IEventDispatcher (e. g. all the EventDispatcher
successors). Note, that UIComponent and all its successors implement
IEventDispatcher, so
] On
Behalf Of Sam Shrefler
Sent: Tuesday, January 09, 2007 7:19 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Dispatching an Event from a Class
Mike, I'm interested in why you would dispatch an Event from your
modelLocator? Could you please share?
Also, could this be a case where
6 matches
Mail list logo