MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT Reference Manual page 534

Actionscript reference guide
Hide thumbs Also See for FLASH MX 2004 - ACTIONSCRIPT:
Table of Contents

Advertisement

MovieClip.startDrag()
Availability
Flash Player 5.
Usage
my_mc.startDrag([lock, [left, top, right, bottom]])
Parameters
A Boolean value specifying whether the draggable movie clip is locked to the center of the
lock
mouse position (
(
). This parameter is optional.
false
,
,
left
top
right
specify a constraint rectangle for the movie clip. These parameters are optional.
Returns
Nothing.
Description
Method; lets the user drag the specified movie clip. The movie clip remains draggable until
explicitly stopped through a call to
draggable. Only one movie clip is draggable at a time.
See also
MovieClip._droptarget
MovieClip.stop()
Availability
Flash Player 5.
Usage
my_mc.stop()
Parameters
None.
Returns
Nothing.
Description
Method; stops the movie clip currently playing.
See also
stop()
534
Chapter 12: ActionScript Dictionary
), or locked to the point where the user first clicked on the movie clip
true
,
Values relative to the coordinates of the movie clip's parent that
bottom
MovieClip.stopDrag()
,
startDrag()
, or until another movie clip is made
,
MovieClip.stopDrag()

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004 - ACTIONSCRIPT and is the answer not in the manual?

Questions and answers

Table of Contents