F > FStyleFormat.textAlign |  |

FStyleFormat.textAlign

FStyleFormat, FStyleFormat.textAlign, textAlign

Availability

Flash Player 6.

Usage

    myStyleFormat.textAlign

Description

Property; a text string specifying right, left, or center alignment for text displayed in all components assigned to the style format. The default setting is `left`.

You must use `FStyleFormat.applyChanges` when updating properties with a new value.

Example

The following code right-aligns all text in components using `formStyleFormat`.

    formStyleFormat.textAlgin = "right";

See also

`FStyleFormat.textIndent`, `FStyleFormat.textLeftMargin`, `FStyleFormat.textRightMargin`