About text layout and formatting

You can control text layout and formatting by using ActionScript. The TextFormat class provides a great deal of control over how the text appears at runtime, in addition to other forms of formatting such as style sheets (see Formatting text with Cascading Style Sheet styles) and HTML text (see Using HTML-formatted text).

You can also control how characters fit on the grid by using ActionScript when you use anti-alias text in a SWF file. This helps you to control the appearance of the characters at runtime. For an example of how to use a grid fit type in your applications, see Using a grid fit type.

For general information on text fields, see About text fields. For information on formatting text, see About formatting anti-alias text. For more information on the TextFormat class, see Using the TextFormat class and TextFormat in the ActionScript 2.0 Language Reference.

For more information on text layout and text formatting using the TextFormat class, see the following sections:


Flash CS3


 

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

Current page: http://livedocs.adobe.com/flash/9.0/main/00000902.html