Adobe® Flex® 4 Language Reference
Hide Packages and Classes List |  Packages  |  Classes  |  Index  |  Appendixes
 
flash.text 

The flash.text package contains classes for working with text fields, text formatting, text metrics, style sheets, and layout. Advanced anti-aliasing is available in Flash Player 8 and later through the flash.text.TextFormat and flash.text.TextRenderer classes.



Classes
 ClassDescription
 AntiAliasType The AntiAliasType class provides values for anti-aliasing in the flash.text.TextField class.
 CSMSettings The CSMSettings class contains properties for use with the TextRenderer.setAdvancedAntiAliasingTable() method to provide continuous stroke modulation (CSM).
 Font The Font class is used to manage embedded fonts in SWF files.
 FontStyle The FontStyle class provides values for the TextRenderer class.
 FontType The FontType class contains the enumerated constants "embedded" and "device" for the fontType property of the Font class.
 GridFitType The GridFitType class defines values for grid fitting in the TextField class.
 StaticText This class represents StaticText objects on the display list.
 StyleSheet The StyleSheet class lets you create a StyleSheet object that contains text formatting rules for font size, color, and other styles.
 TextColorType The TextColorType class provides color values for the flash.text.TextRenderer class.
 TextDisplayMode The TextDisplayMode class contains values that control the subpixel anti-aliasing of the advanced anti-aliasing system.
 TextExtent The TextExtent class contains information about the extents of some text in a text field.
 TextField The TextField class is used to create display objects for text display and input.
 TextFieldAutoSize The TextFieldAutoSize class is an enumeration of constant values used in setting the autoSize property of the TextField class.
 TextFieldType The TextFieldType class is an enumeration of constant values used in setting the type property of the TextField class.
 TextFormat The TextFormat class represents character formatting information.
 TextFormatAlign The TextFormatAlign class provides values for text alignment in the TextFormat class.
 TextLineMetrics The TextLineMetrics class contains information about the text position and measurements of a line of text within a text field.
 TextRenderer The TextRenderer class provides functionality for the advanced anti-aliasing capability of embedded fonts.
 TextSnapshot TextSnapshot objects let you work with static text in a movie clip.