Stopdrag() - MACROMEDIA FLASH MX 2004-ACTIONSCRIPT LANGUAGE Reference

Actionscript language reference
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading
Need help?

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

This manual is also suitable for:

Flash mx

Table of Contents