MovieClip
Object
|
+-MovieClip
public dynamic class MovieClip
extends Object
The methods for the MovieClip class provide the same functionality as actions that target
movie clips. Some additional methods do not have equivalent actions in the Actions toolbox
in the Actions panel.
You do not use a constructor method to create a movie clip. You can choose from among three
methods to create movie clip instances:
The
attachMovie()
clip symbol that exists in the library.
The
createEmptyMovieClip()
instance as a child based on another movie clip.
The
duplicateMovieClip()
another movie clip.
To call the methods of the MovieClip class you reference movie clip instances by name, using
the following syntax, where
my_mc.play();
my_mc.gotoAndPlay(3);
You can extend the methods and event handlers of the MovieClip class by creating a subclass.
Availability: ActionScript 1.0; Flash Player 3
Property summary
Modifiers
Property
_alpha:Number
blendMode:Object
cacheAsBitmap:Boolean
_currentframe:Number
[read-only]
_droptarget:String
[read-only]
method allows you to create a movie clip instance based on a movie
method allows you to create an empty movie clip
method allows you to create a movie clip instance based on
is a movie clip instance:
my_mc
Description
The alpha transparency value of the movie clip.
The blend mode for this movie clip.
If set to true, Flash Player caches an internal bitmap
representation of the movie clip.
Returns the number of the frame in which the
playhead is located in the movie clip's timeline.
Returns the absolute path in slash-syntax notation of
the movie clip instance on which this movie clip was
dropped.
MovieClip
817
Need help?
Do you have a question about the FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE and is the answer not in the manual?