Widget.startDrag()

Availability

Flash Player 7 + TheSpringBox V1

Usage

Widget.startDrag() : 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 function in this example sets the size of the widget wrapper the 200x300.

btnDrag.onPress = function() {
  Widget.startDrag();
};

See also

Widget.stopDrag()