Name

MovieClip.stopDrag( ) Method — end a drag operation in progress

Availability

Method form introduced in Flash 5 (global form supported by Flash 4 and later)

Synopsis

mc.stopDrag( )

Description

The MovieClip.stopDrag( ) method is an alternative to the global stopDrag( ) function. However, there is no need to use the method form; stopDrag( ) cancels any drag operation in progress, whether invoked through a movie clip or as a global function.

See Also

MovieClip.startDrag( ), stopDrag( )

Get ActionScript: The Definitive Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.