User Guide

822 Chapter 6: Components Dictionary
Example
The following handler displays a message in the Output panel when the object it’s attached to
becomes visible.
on(reveal) {
trace("I’ve become visible.");
}
See also
UIObject.hide
UIObject.right
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
componentInstance.right
Description
Property (read-only); a number indicating the right edge of the object, in pixels, relative to its
parents right edge. To set this property, call
UIObject.move().
Example
The following example moves the check box so it aligns under the right edge of the list box:
myCheckbox.move(form.width - listbox.right, myCheckbox.y);
UIObject.scaleX
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
componentInstance.scaleX
Description
Property; a number indicating the scaling factor in the x direction of the object, relative to
its parent.