| Previous | Next | |
Windows: Flash 8 or 9 AS2.0 SWF + mProjector
3.0; Windows NT Support: Flash 7 SWF + mProjector
2.0;
Macintosh: Flash 8 or 9 AS2.0 SWF + mProjector
2.0; replacing mProjector
1.2 async
mApplication.getMousePosition() : ObjectAn object with the following properties:
x y Method; Retrieves the position of the mouse pointer. The position returned is relative to the top-left corner of the screen, and is returned even when the mouse pointer is outside of the application window.
The following example moves the application to the current mouse position (i.e. application follows the mouse pointer).
var Mouse = mApplication.getMousePosition(); mWindow.setPosition(Mouse.x,Mouse.y);
| Questions or Feedback? | Previous | Next |