25 August 2010
TLF text, introduced in Adobe Flash Professional CS5, enables you to add text to a FLA file using a new text engine called the Text Layout Framework (TLF). TLF supports a wider array of rich text layout features and fine control of text attributes. TLF text allows greater control of text than the previous text engine, now called "classic text."
Compared to classic text, TLF text provides additional character styles, including leading, ligatures, highlight color, underline, strikethrough, case, digit case, and more. It also includes additional paragraph styles, including multicolumn support with gutter width, last-line justification options, margins, indents, paragraph spacing, and container padding values.
When creating text, it is important to understand the following:
Using TLF text, you can control additional Asian text attributes, including Tate Chu Yoko, Mojikumi, Kinsoku Shori, and Leading model. You can also apply attributes such as 3D rotation, color effects, and blend modes to TLF text without placing it in a movie clip symbol.
TLF text can flow across multiple text containers. These containers are called threaded or linked text containers. It enables you to create right-to-left text for Arabic and Hebrew scripts. It also supports bi-directional text where right-to-left text can contain elements of left-to-right text. This is important for embedding English words or Arabic numerals within Arabic/Hebrew text:
The Property inspector has three display modes when using TLF text, depending on the current type of text selection:
You can create three types of text blocks with TLF text, depending on how you want the text to behave at runtime:
TLF text requires a specific ActionScript library to be available to Flash Player at runtime. If this library is not already present on the playback computer, Flash Player automatically downloads it. For more information about the library, see Publishing SWF files with TLF text in the Flash documentation.
To learn more about working with TLF text, read the section titled Working with Text Layout Framework (TLF) text in the Flash documentation.
Note: TLF text cannot be used as a mask. To create a mask with text, use classic text.