createEmptyMovieClip()
Top  Previous  Next


SWiSH Player Support
SWF6 or later - Supported Internally

Syntax
mySprite.createEmptyMovieClip(instanceName, depth)

Arguments
instanceName: a string defining the name of the new MovieClip instance.
depth: the depth level at which the new MovieClip will reside.

Returns
Nothing.

Description
Method; creates a new empty MovieClip. The new MovieClip becomes a child of the existing Sprite/MovieClip. The anchor point of the empty MovieClip is set to top-left. If any of the arguments are omitted, the function will fail.