_name
Top  Previous  Next


SWiSH Player Support
SWF4 or later - Supported Internally

Syntax
sprite._name
sprite._name = value

Arguments
sprite: The name of the Sprite / Movie Clip, Instance or Object.
value: A string containing the new name of the Sprite / Movie Clip or Object.

Returns
Current name of the Sprite / Movie Clip or Object.

Description
This property allows the Sprite / Movie Clip, Instance or Object to be read and modified.

Sample
onLoad() {
    trace(this._name);  // show name of this Object / Sprite
}


See Also
_target