UIObject.width

Availability

Flash Player 6.0.79.

Edition

Flash MX 2004.

Usage

componentInstance.width

Description

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

Example

The following example sets the width of the TextArea component to 450 pixels:

mytextarea.width = 450;