Max-Mov > MovieClip.attachMovie

MovieClip.attachMovie

Syntax

anyMovieClip.attachMovie(idName, newname, depth);

Arguments

idName The name of the movie in the library to attach. This is the name entered in the Identifier field in the Symbol Linkage Properties dialog box.

newname A unique instance name for the movie clip being attached.

depth An integer specifying the depth level where the movie is placed.

Description

Method; creates a new instance of a movie in the library and attaches it to the movie specified by anyMovieClip. Use the removeMovieClip or unloadMovie action or method to remove a movie attached with attachMovie.

Player

Flash 5 or later.

See also

removeMovieClip
unloadMovie
MovieClip.removeMovieClip
MovieClip.unloadMovie