In This Chapter
Using HTML tags in text fields
Creating URL links within Flash text
Controlling text fields with the TextFormat object
Accessing functions within HTML tags
Rendering text with the new Flash Player 8 FlashType engine
Scrolling text fields on a pixel-by-pixel basis
Selecting text in text fields with ActionScript
In this chapter, we show you how to control text field formatting and focus using internal HTML tags and ActionScript. Flash gives you an incredible amount of control over text field formatting when you use the TextFormat object with TextField objects (that is, Input and Dynamic text fields). We will also show you how to highlight text within text fields by using the Selection object.
New Feature |
Since Flash Player 8 supports PNG, GIF, and progressive JPEG image support, you can load these file types into HTML-enabled Flash text fields as well. Flash Player 8 also features a new text rendering engine called FlashType, which improves the readability of text at small point sizes. |