stopDrag()

Availability

Flash Player 4.

Usage

stopDrag()

Parameters

None.

Returns

Nothing.

Description

Action; stops the current drag operation.

Example

This statement 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(),