30
Unsupported and Partially Supported Classes
TextFormat class
The TextFormat class represents character formatting information. Use the TextFormat class
to create specific text formatting for text fields. You can apply text formatting to static and
dynamic text fields. Some properties of the TextFormat class are not available for embedded
and device fonts.
The TextFormat class lets you apply formatting to a text field or to certain characters within a
text field. Some examples of text formatting options that can be applied to text are alignment,
indenting, bold, color, font size, margin widths, italics, and letter spacing. You can apply text
formatting to static and dynamic text fields. Some properties of the TextFormat class are not
available for embedded and device fonts.
You must use the constructor
TextFormat()
to create a TextFormat object before calling its
methods.
Flash Lite 2.0 provides partial support for the TextFormat class. For example,
TextFormat.font, TextFormat.bold, and TextFormat.tabstop are not supported when you use
device fonts.
For more information about the TextFormat class, see the following references:
■
Developing Flash Lite 2.x Applications
■
Chapter 12, “Working with Text and Strings,” in
Learning ActionScript 2.0 in Flash
■
Chapter 2, “ActionScript Classes,” in
Flash Lite 2.x ActionScript Language Reference
NO
TE
Flash Lite 2.0 provides partial support for the formatting feature available in the
TextFormat class. Formatting features are not available when you use device fonts.
Summary of Contents for FLASH 8-INTRODUCTION TO FLASH LITE 2.X...
Page 1: ...Introduction to Flash Lite 2 x ActionScript...
Page 4: ...4...
Page 34: ...34 Unsupported and Partially Supported Classes...