mSystem.getDesktopWorkArea()

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;

Usage

mSystem.getDesktopWorkArea() : Object

Parameters

None.

Returns

An object with the following properties:

Description

Method; Returns the desktop work area rectangle. The work area is the portion of the desktop not obscured by the system taskbar or by application desktop toolbars.

Example

The following example gets the work area rectangle.

var Rect = mSystem.getDesktopWorkArea();
trace(Rect.left+","+Rect.top+","+Rect.right+","+Rect.bottom);

See Also

mSystem.getScreenSize();