![]() ![]() ![]() | |
![]() | |
![]() | |
![]() |
To duplicate or remove movie clip instances, use the duplicateMovieClip()
or removeMovieClip()
global functions, or the MovieClip class methods of the same name. The duplicateMovieClip()
method creates a new instance of an existing movie clip instance, assigns it a new instance name, and gives it a depth, or z-order. A duplicated movie clip always starts at Frame 1 even if the original movie clip was on another frame when duplicated, and is always in front of all previously defined movie clips placed on the Timeline.
To delete a movie clip you created with duplicateMovieClip()
, use removeMovieClip()
. Duplicated movie clips are also removed if the parent movie clip is deleted.
For more information, see duplicateMovieClip()
and removeMovieClip()
.
![]() | |
![]() | |
![]() | |
![]() ![]() ![]() |