User Guide
806 Chapter 6: Components Dictionary
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 415.
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.
Description
Method; unregisters a listener object from a component instance that is broadcasting an event.
This method overrides the
EventDispatcher.removeEventListener() event found in the
EventDispatcher base class.