TextField.autoSize

Availability

Flash Player 6.

Usage

my_txt.autoSize

Description

Property; controls automatic sizing and alignment of text fields. When you set the autoSize property, true is a synonym for "left" and false is a synonym for "none". Resizing takes place as follows:

Example

The following sets the autosize property of the text field my_txt to "center".

my_txt.autosize = "center";