MACROMEDIA FLASH MX 2004-USING COMPONENTS Use Manual page 823

Using components
Hide thumbs Also See for FLASH MX 2004-USING COMPONENTS:
Table of Contents

Advertisement

Example
The following example makes the check box twice as wide and sets the
horizontal scale factor:
checkbox.scaleX = 200;
var tmp = checkbox.scaleX;
UIObject.scaleY
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
componentInstance.scaleY
Description
Property; a number indicating the scaling factor in the y direction of the object, relative to
its parent.
Example
The following example makes the check box twice as high and sets the
scale factor:
checkbox.scaleY = 200;
var tmp = checkbox.scaleY;
UIObject.setSize()
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
componentInstance.setSize(width, height)
Parameters
A number that indicates the width of the object, in pixels.
width
A number that indicates the height of the object, in pixels.
height
Returns
Nothing.
variable to the
tmp
variable to the vertical
tmp
UIObject class
823

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash mx

Table of Contents