S > stopDrag |  |

stopDrag

stopdrag, stop drag

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 `mc` when the user releases the mouse button:

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

See also

`MovieClip.stopDrag`, `MovieClip._droptarget`, `startDrag`,