EasyManua.ls Logo

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT - Page 479

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT
816 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Mouse.onMouseUp 479
Mouse.onMouseMove
Availability
Flash Player 6.
Usage
someListener.onMouseMove
Parameters
None.
Returns
Nothing.
Description
Listener; notified when the mouse moves. To use the onMouseMove listener, you must create a
listener object. You can then define a function for
onMouseMove and use addListener() to
register the listener with the Mouse object, as in the following code:
someListener = new Object();
someListener.onMouseMove = function () { ... };
Mouse.addListener(someListener);
Listeners enable different pieces of code to cooperate because multiple listeners can receive
notification about a single event.
See also
Mouse.addListener()
Mouse.onMouseUp
Availability
Flash Player 6.
Usage
someListener.onMouseUp
Parameters
None.
Returns
Nothing.
Description
Listener; notified when the mouse is released. To use the onMouseUp listener, you must create a
listener object. You can then define a function for
onMouseUp and use addListener() to register
the listener with the Mouse object, as in the following code:
someListener = new Object();
someListener.onMouseUp = function () { ... };
Mouse.addListener(someListener);

Table of Contents

Related product manuals