_width
Top  Previous  Next


SWiSH Player Support
SWF4 or later - Supported Internally

Syntax
spritename._width

Arguments
spritename is the name of the Sprite / Movie Clip or Object.

Returns
This read-only property returns the current width of the Sprite or Object.

Description
This can be used to determine the current width of the referenced Object.
If scaling is applied (_xscale), this property is modified to show the revised size.

Sample
w = rect._width;   // w contains the current width of the Object rect.