Flash Player 6.
Mouse.addListener (
newListener
)
newListener
An object.
Nothing.
Method; registers an object to receive notifications of the onMouseDown
, onMouseMove
and onMouseUp
callback handlers.
The newListener
parameter should contain an object with defined methods for the onMouseDown
, onMouseMove
, and onMouseUp
listeners.
When the mouse is pressed, moved, or released, regardless of the input focus, all listening objects that are registered with this method have either their onMouseDown
method, onMouseMove
method or onMouseUp
method invoked. Multiple objects may listen for mouse notifications. If the listener newListener
is already registered, no change occurs.