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 parent's 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); 

Flash CS3