Chapter 30: Applying HTML and Text Field Formatting


Overview

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.




Macromedia Flash 8 Bible
Macromedia Flash8 Bible
ISBN: 0471746762
EAN: 2147483647
Year: 2006
Pages: 395

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net