Adobe Flash Professional CS6 Adobe Flash Professional CS6 Classroom In A Book | Page 259

TLF text stands for Text Layout Framework, and is a more recent and more power- ful text engine. Choose TLF Text when you want to use more sophisticated controls for text formatting such as multiple columns or wrap-around text. You’ll learn many of the features unique to TLF Text in this lesson. Choose Classic Text when you don’t need that degree of layout control or if you need to target an older ver- sion of the Flash Player. TLF Text depends on a specific external ActionScript library to function properly. When you test a movie or publish a movie that contains TLF Text, an additional Text Layout SWZ file ( ) is created next to your SWF file. The SWZ file is the external ActionScript library that supports TLF Text. When a SWF file that contains TLF Text is playing from the Web, the SWF looks for the library in a couple of different locations. The SWF looks for the library on the local computer it is playing on, where the library is usually cached from normal Internet usage. The SWF also looks on Adobe.com for the library file, and if that fails, looks in the same directory as the SWF. You should always keep the SWZ file with your SWF file so the TLF Text features work properly when you test your movies locally. You should also have the SWZ file accompany your SWF file when you upload it to your Web server, just to be safe. Merging the TLF Text library If you don’t want to maintain the separate SWZ file, you can merge the required ActionScript library with your SWF file. However, doing so adds substantially to the size of your published SWF file and is not recommended. 1 Choose File > Publish Settings. Click the Flash format from the left and choose Settings for ActionScript 3.0. You can also click the Edit button next to ActionScript settings in the Properties inspector. The Advanced ActionScript 3.0 Settings dialog box opens. 250 Lesson 7 Using Text