User Guide

1351
53
CHAPTER 53
UIEventDispatcher class
ActionScript Class Name mx.events.UIEventDispatcher
Inheritance EventDispatcher class > UIEventDispatcher
The UIEventDispatcher class is mixed in to the UIComponent class and allows components
to emit certain events.
If you want an object that doesnt inherit from UIComponent to dispatch certain events, you
can use UIEventDispatcher.
Method summary for the UIEventDispatcher class
The following table lists the method of the UIEventDispatcher class.
Methods inherited from the EventDispatcher class
The following table lists the methods the UIEventDispatcher class inherits from the
EventDispatcher class. When calling these methods from the UIEventDispatcher object, use
the form
UIEventDispatcherInstance.methodName.
Method Description
UIEventDispatcher.removeEventListener() Removes a registered listener from a component
instance. This method overrides the
eventDispatcher.removeEventListenter()
method.
Method Description
EventDispatcher.addEventListener() Registers a listener to a component instance.
EventDispatcher.dispatchEvent() Dispatches an event to all registered listeners.