S > stopDrag

stopDrag

Syntax

stopDrag();

Arguments

None.

Description

Action; stops the current drag operation.

Player

Flash 4 or later.

Example

This statement stops the drag action on the instance mc when the user releases the mouse button:

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

See also

startDrag
_droptarget