Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 1.0 Flash Player 9, Flash Lite 4 |
The TextFieldAutoSize class is an enumeration of constant values used in setting the
autoSize
property of the TextField class.
public static const CENTER:String = "center"
Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 1.0 Flash Player 9, Flash Lite 4 |
Specifies that the text is to be treated as center-justified text.
Any resizing of a single line of a text field is equally distributed
to both the right and left sides.
public static const LEFT:String = "left"
Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 1.0 Flash Player 9, Flash Lite 4 |
Specifies that the text is to be treated as left-justified text,
meaning that the left side of the text field remains fixed and any
resizing of a single line is on the right side.
public static const NONE:String = "none"
Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 1.0 Flash Player 9, Flash Lite 4 |
Specifies that no resizing is to occur.
public static const RIGHT:String = "right"
Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 1.0 Flash Player 9, Flash Lite 4 |
Specifies that the text is to be treated as right-justified text,
meaning that the right side of the text field remains fixed and any
resizing of a single line is on the left side.