UIObject.width

Availability

Flash Player 6 (6.0 79.0).

Edition

Flash MX 2004.

Usage

componentInstance.width

Description

Property (read-only); a number indicating the width of the object, in pixels. To change the width, call UIObject.setSize().

Example

The following example makes the check box wider:

myCheckbox.setSize(myCheckbox.width + 10, myCheckbox.height); 

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flash/mx2004/main_7_2/00002957.html