_yscale
Top  Previous  Next


SWiSH Player Support
SWF4 or later - Supported Internally

Syntax
spritename._yscale
spritename._yscale = percentage;

Arguments
spritename is the name of the Sprite / Movie Clip or Object.
percentage is the new height of the Sprite / Object with respect to the original size as a percentage.
Negative percentage values can be used to vertically flip the Sprite / Object.

Returns
Current scale. 100 represents the original size.

Description
This property returns or sets the vertical scale of the indicated Sprite / Object.

Example
_root.rect._yscale = 200
;   // double the height of the Sprite / Object.

Physics Properties are also supported for this property.