Yscale - MACROMEDIA FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE Reference

Flash lite 1.x actionscript language reference
Hide thumbs Also See for FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE:
Table of Contents

Advertisement

_yscale

Availability
Flash Lite 1.0.
Usage
my_mc:_yscale
Description
Property; sets the vertical scale (
) of the movie clip, as applied from the
percentage
registration point of the movie clip. The default registration point is (0, 0).
Scaling the local coordinate system affects the
and
property settings, which are defined
_x
_y
in pixels. For example, if the parent movie clip is scaled to 50%, setting the
property moves
_y
an object in the movie clip by half the number of pixels as it would if the movie were set
at 100%.
Example
The following example changes the vertical scale of the
movie clip to 10% when the
my_mc
user presses the 1 key:
on(keyPress "1") {
my_mc:_yscale = 10;
}
See also
,
,
_x
_xscale
_y
_yscale
61

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents