ActionScript 2.0 Components Language Reference |
|
|
|
| Screen class > Screen.mouseMove | |||
Flash Player 6 (6.0.79.0).
Flash MX Professional 2004.
on(mouseMove) {
// Your code here.
}
listenerObject = new Object();
listenerObject.mouseMove = function(eventObject){
// Insert your code here.
}
screenObj.addEventListener("mouseMove", listenerObject)
Event; broadcast when the mouse moves while over the screen. This event is sent only when the mouse is over the bounding box of this screen.
When the event is triggered, it automatically passes an event object (eventObj) 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.
|
NOTE |
This event may affect system performance and should be used judiciously. |
|
|
|
|