Widget.stopDrag()

Availability

Flash Player 7 + TheSpringBox V1

Usage

Widget.stopDrag() : Void;

Parameters

None.

Returns

Nothing.

Description

Method; used to activate dragging of the widget wrapper. It is recommended you execute this method inside the onPress of an invisible button

Example

The button in this example stops the dragging of the window when released.

btnDrag.onRelease = function() {
  Widget.stopDrag();
};

See also

Widget.startDrag()