User Guide

1356 UIEventDispatcher class
UIEventDispatcher.mouseUp
Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX Professional 2004.
Usage
listenerObject = new Object();
listenerObject.mouseUp = function(eventObject){
// Insert your code here.
}
componentInstance.addEventListener("mouseUp", listenerObject)
Description
Event; broadcast to all registered listeners when a Flash application has focus and the mouse is
pressed and released.
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. For more information, see
“EventDispatcher class” on page 499.
UIEventDispatcher.removeEventListener()
Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX 2004 and Flash MX Professional 2004.
Usage
componentInstance.removeEventListener(event, listener)
Parameters
event A string that is the name of the event.
listener A reference to a listener object or function.
Returns
Nothing.