mWindow.stopDrag()

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 1.0;

Usage

mWindow.stopDrag() : Void

Parameters

None.

Returns

Nothing.

Description

Method; Stops a window dragging session started with the mWindow.startDrag() function.

Example

The following example stops a window dragging session.

if (mWindow.getPosition().x<0)
{
    mWindow.stopDrag();
}

See Also

mApplication.startDrag()