stopDrag() : Void
Stops the current drag operation.
Note: This method is supported in Flash Lite only if System.capabilities.hasMouse is true or System.capabilities.hasStylus is true.
The following code, placed in the main Timeline, stops the drag action on the movie clip instance my_mc when the user releases the mouse button:
my_mc.onPress = function () {
startDrag(this);
}
my_mc.onRelease = function() {
stopDrag();
}
startDrag function, _droptarget (MovieClip._droptarget property), startDrag (MovieClip.startDrag method), stopDrag (MovieClip.stopDrag method)