The Mouse class lets you control the mouse in a SWF file; for example, this class lets you hide or show the mouse pointer.
For more information about the Mouse class, see the following references:
The following table lists the methods that are either partially or not supported by the Mouse class when using ActionScript for Flash Lite 2.x and later.
|
Method |
Description |
Support |
|---|---|---|
| addListener() |
Registers an object to receive notifications of the onMouseDown, onMouseMove, onMouseUp, and onMouseWheel listeners. Limitations: Supported if System.capabilities.hasMouse or System.capabilities.hasStylus is set to true. |
Partially supported |
| hide() |
Hides the pointer in a SWF file. |
Not supported |
| removeListener() |
Removes an object that was previously registered with addListener(). Limitations: Supported if System.capabilities.hasMouse or System.capabilities.hasStylus is set to true. |
Partially supported |
| show() |
Displays the pointer in a SWF file. |
Not supported |
Send me an e-mail when comments are added to this page | Comment Report