mWindow.getPosition()

Availability

Windows: Flash 8 or 9 AS2.0 SWF + mProjector 3.0; Windows 98/ME/NT Support: Flash 7 SWF + mProjector 2.0;

Macintosh: Flash 8 or 9 AS2.0 SWF + mProjector 2.0; replacing mProjector 1.0 async

Usage

mWindow.getPosition() : Object

Parameters

None.

Returns

An object with the following properties:

Description

Method; Retrieves a window's position. The position returned is relative to the top-left corner of the screen.

Example

The following example gets a window's position.

var Position = mWindow.getPosition();
mApplication.trace(Position.x+","+Position.y);

See Also

mWindow.getSize(), mWindow.setPosition(), mWindow.setSize(),

Code Examples

mProjector Class Basics -- mWindow