UIObject.top

Availability

Flash Player 6.0.79.

Edition

Flash MX 2004.

Usage

componentInstance.top

Description

Property (read-only); a number indicating the top edge of the object in pixels.

Example

The following example sets the tmp variable to the top position of the checkbox instance:

var tmp = checkbox.top; // sets value of tmp to top position of checkbox;