UIObject.y

Availability

Flash Player 6 (6.0.79.0).

Edition

Flash MX 2004.

Usage

componentInstance.y

Description

Property (read-only); a number indicating the top edge of the object, in pixels. To set this property, call UIObject.move().

Example

The following example moves the check box down 10 pixels:

myCheckbox.move(myCheckbox.x, myCheckbox.y + 10); 


Flash CS3