MACROMEDIA FLEX-FLEX ACTIONSCRIPT LANGUAGE Reference page 714

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(),
714
Chapter 7: ActionScript for Flash
ActionScript for Flash
startDrag()
CHAPTER 7

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLEX-FLEX ACTIONSCRIPT LANGUAGE and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flex

Table of Contents