Event summary for the UIEventDispatcher class
The following table lists events of the UIEventDispatcher class.
Method
UIEventDispatcher.keyDown
UIEventDispatcher.keyUp
UIEventDispatcher.load
UIEventDispatcher.mouseDown
UIEventDispatcher.mouseOut
UIEventDispatcher.mouseOver
UIEventDispatcher.mouseUp
UIEventDispatcher.unload
UIEventDispatcher.keyDown
Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX Professional 2004.
Usage
listenerObject = new Object();
listenerObject.keyDown = function(eventObject){
// Insert your code here.
}
componentInstance.addEventListener("keyDown", listenerObject)
Description
Event; broadcast to all registered listeners when a key is pressed and the Flash application
has focus.
When the event is triggered, it automatically passes an event object (
handler. Each event object has properties that contain information about the event. You can
use these properties to write code that handles the event.
1352
UIEventDispatcher class
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.
) to the
eventObject