ActionScript for Flash MX: The Definitive Guide, Second Edition

ActionScript for Flash MX: The Definitive Guide, 2nd EditionBy Colin Moock
Chapter 18.  ActionScript Language Reference
MovieClip.stopDrag( ) Method Flash 5

end a drag operation in progress

mc.stopDrag()

Description

The MovieClip.stopDrag( ) method is an alternative to the global stopDrag( ) function. However, there is no need to use the MovieClip 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( )

    Категории