createEmptySprite
Top  Previous  Next


SWiSH Player Support
SWF6 or later - Supported Internally

Syntax
mySprite.createEmptySprite(instanceName, depth)

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

Returns
Nothing.

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