• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 12. Working with Text and Strings > About text layout and formatting

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” on page 430) and HTML text (see “Using HTML-formatted text” on page 445).

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” on page 426.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint