![]() ![]() | |
Flash Player 6.
Mouse.addListener (newListener)
newListener An object.
Nothing.
Method; registers an object to receive notifications of the onMouseDown, onMouseMove, and onMouseUp listeners.
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 their onMouseDown, onMouseMove, or onMouseUp method invoked. Multiple objects can listen for mouse notifications. If the listener newListener is already registered, no change occurs.
Mouse.onMouseDown, Mouse.onMouseMove, Mouse.onMouseUp
![]() ![]() | |