M > MovieClip.createEmptyMovieClip |
![]() ![]() ![]() |
MovieClip.createEmptyMovieClip
Availability
Flash Player 6.
Usage
myMovieClip
.createEmptyMovieClip (
instanceName
,
depth
)
Parameter
instanceName
A string that identifies the instance name of the new movie clip.
depth
An integer that specifies the depth of the new movie clip.
Returns
Nothing.
Description
Method; creates an empty movie clip as a child of an existing movie clip. This method behaves similarly to the attachMovie
method, but you don't need to provide an external linkage name for the new movie clip. The registration point for a newly created empty movie clip is the upper left corner. This method fails if any of the parameters are missing.
See also
![]() ![]() ![]() |