Max-Mov > MovieClip (object)
MovieClip (object)The methods for the MovieClip object privide the same functionality as the standard actions that target movie clips. There are also additional methods that provide functionality that is not available using the standard actions listed in the Actions category of the Actions panel. You do not need to use a constructor method in order to call the methods of the MovieClip object; instead, you reference movie clip instances by name, using the following syntax:
anyMovieClip
.play();
anyMovieClip
.gotoAndPlay(3);
Method summary for the MovieClip object
Method | Description |
---|---|
|
Attaches a movie in the library. |
|
Duplicates the specified movie clip. |
|
Returns the minimum and maximum x and y coordinates of a movie in a specified coordinate space. |
|
Returns the number of bytes loaded for the specified movie clip. |
|
Returns the size of the movie clip in bytes. |
|
Retrieves a document from a URL. |
|
Converts the point object from Stage coordinates to the local coordinates of the specified movie clip. |
|
Sends the playhead to a specific frame in the movie clip and plays the movie. |
|
Sends the playhead to a specific frame in the movie clip and stops the movie. |
|
Returns |
|
Loads the specified movie into the movie clip. |
|
Loads variables from a URL or other location into the movie clip. |
|
Converts a Point object from the local coordinates of the movie clip to the global Stage coordinates. |
|
Sends the playhead to the next frame of the movie clip. |
|
Plays the specified movie clip. |
|
Sends the playhead to the previous frame of the movie clip. |
|
Removes the movie clip from the Timeline if it was created with a duplicateMovieClip action or method or the attachMovie method. |
|
Specifies a movie clip as draggable and begins dragging the movie clip. |
|
Stops the currently playing movie. |
|
Stops the dragging of any movie clip that is being dragged. |
|
Swaps the depth level of specified movie with the movie at a specific depth level. |
|
Removes a movie loaded with |