User Guide
804 Chapter 6: Components Dictionary
UIEventDispatcher.load
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
listenerObject = new Object();
listenerObject.load = function(eventObject){
// insert your code here
}
componentInstance.addEventListener("load", listenerObject)
Description
Event; broadcast to all registered listeners when a component is loaded into Flash Player.
When the event is triggered, it automatically passes an event object (
eventObject) to the
handler. Each event object has properties that contain information about the event. You can use
these properties to write code that handles the event.
UIEventDispatcher.mouseDown
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
listenerObject = new Object();
listenerObject.mouseDown = function(eventObject){
// insert your code here
}
componentInstance.addEventListener("mouseDown", listenerObject)
Description
Event; broadcast to all registered listeners when a Flash application has focus and the mouse is
pressed.
When the event is triggered, it automatically passes an event object (
eventObject) to the
handler. Each event object has properties that contain information about the event. You can use
these properties to write code that handles the event.