Table of Contents

Button._yscale Property Flash 6

height of a button, as a percentage read/write
theButton._yscale

Description

The floating-point _yscale property specifies the height of theButton, relative to its original height, expressed as a percentage. Its "original height" is the pixel height of its Library symbol. When the current height of theButton is the same as its original height, _yscale is 100. A _yscale of 300 triples theButton's original height; a _yscale of 50 halves its original height.

Button._yscale is directly analogous to MovieClip._yscale; see that property entry for full details.

Example

// Restore sort_btn to its original (Library symbol) size
sort_btn._yscale = 100;
sort_btn._xscale = 100;

See Also

Button._height, Button._xscale, MovieClip._yscale


Table of Contents