Textformat Class - MACROMEDIA FLASH 8-INTRODUCTION TO FLASH LITE 2.X ACTIONSCRIPT Introduction Manual

Introduction to flash lite 2.x actionscript
Table of Contents

Advertisement

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
methods.
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.
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
30
Unsupported and Partially Supported Classes
to create a TextFormat object before calling its
TextFormat()

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-INTRODUCTION TO FLASH LITE 2.X ACTIONSCRIPT and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents