stopDrag()
Availability
Flash Player 4.
Usage
stopDrag() : Void
Parameters
None.
Returns
Nothing.
Description
Function; stops the current drag operation.
Example
The following code, placed in the main Timeline, stops the drag action on the movie clip instance
when the user releases the mouse button:
my_mc
my_mc.onPress = function () {
startDrag(this);
}
my_mc.onRelease = function() {
stopDrag();
}
See also
MovieClip._droptarget, MovieClip.stopDrag(),
ActionScript Language Reference
startDrag()
CHAPTER 2
stopDrag()
791
Need help?
Do you have a question about the FLASH MX 2004-ACTIONSCRIPT LANGUAGE and is the answer not in the manual?
Questions and answers