stopDrag()

Availability

Flash Player 4.

Usage

stopDrag()

Parameters

None.

Returns

Nothing.

Description

Function; stops the current drag operation.

Example

This code stops the drag action on the instance my_mc when the user releases the mouse button:

on(press) {
  startDrag("my_mc");
}
on(release) {
  stopdrag();
}

See also

MovieClip._droptarget, MovieClip.stopDrag(), startDrag()