Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
In Flash CS5, the Text Layout Framework is the preferred method for working with text. However, there are some situations where you won't be able to use the Text Layout Framework. I mentioned earlier in this chapter that the Text Layout Framework needs to use Flash Player 10 and ActionScript 3.0. For some projects, you may have to publish to an earlier version of the Flash Player or an earlier version of ActionScript. In those situations, you cannot use the Text Layout Framework, so you'll have to use the Classic Text engine.
So for that purpose I am going to briefly cover how to use the Classic Text engine in Flash. So on the Stage here I have some Text Layout Framework text. I am going to select it, and then I am going to convert this to Classic Text by using the drop-down menu for Text engine at the top of the Properties panel. So I'll change the engine to Classic Text. You can see that the font renders a little bit differently. I use the Text Layout Framework to auto-capitalize all the text. Now, since that setting is not available in Classic Text, we'll have to manually capitalize all this text.
So I can use Caps Lock and type Taste of California. I'll press the Escape key. I'll select the California text, and I'll shrink down the text of California a little bit. Then I'll select Taste of and I'll expand that size of that text a little bit. So now Taste of matches the width of California. You'll notice that most of the settings in Classic Text are the same as Text Layout Framework. There are just less settings that you can change. One thing to note is that how Flash shows a fixed width text field in Classic Text.
If I double-click inside of the text field you'll see that there is a box at the top right. So that indicates fixed width. If I double-click the box, it converts to variable width. Notice that you will see a circle there. So it's the same as the Text Layout Framework. It's just at the top instead of at the bottom. There is one more thing to demonstrate in Classic Text and that's the text field type. So there is Static Text, Dynamic Text, and Input Text. Static Text is for text you just want to display in Flash and it can be made selectable. Dynamic Text is made primarily for text that can be edited using ActionScript code, and Input Text is used in forms because it's editable.
So again, the Text Layout Framework is the preferred method, but you can switch to Classic Text if you have to target a lower version of the Flash Player or ActionScript by selecting a text field and choosing the Classic Text engine in the Properties panel.
Get unlimited access to all courses for just $25/month.Become a member
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.