UIObject.move()

Availability

Flash Player 6.0.79.

Edition

Flash MX 2004.

Usage

componentInstance.move(x, y)

Parameters

x A number that indicates the position of the object's upper left corner relative to its parent.

y A number that indicates the position of the object's upper left corner relative to its parent.

Returns

Nothing.

Description

Method; moves the object to the requested position. You should only pass integral values to the UIObject.move() or the component may appear fuzzy.

Failure to follow these rules may result in fuzzier-looking controls.

Example

This example moves the ProgressBar instance pBar to the upper left corner at 100, 100:

pBar.move(100, 100);