Flash 8 Documentation |
|||
| Components Language Reference > 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 doesn't inherit from UIComponent to dispatch certain events, you can use UIEventDispatcher.
The following table lists the method of the UIEventDispatcher class.
|
Method |
Description |
|---|---|
|
Removes a registered listener from a component instance. This method overrides the |
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 |
|---|---|
|
Registers a listener to a component instance. |
|
|
Dispatches an event to all registered listeners. |
The following table lists events of the UIEventDispatcher class.
|
Method |
Description |
|---|---|
|
Broadcast when a key is pressed. |
|
|
Broadcast when a pressed key is released. |
|
|
Broadcast when a component loads into Flash Player. |
|
|
Broadcast when the mouse is pressed. |
|
|
Broadcast when the mouse is moved off a component instance. |
|
|
Broadcast when the mouse is moved over a component instance. |
|
|
Broadcast when the mouse is pressed and released. |
|
|
Broadcast when a component is unloaded from Flash Player. |
Version 8
RSS feed | Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flash/8/main/00004178.html
Comments
scoobeeDogg said on Sep 26, 2006 at 10:00 AM :