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
 AntiAliasTypeThe AntiAliasType class provides values for anti-aliasing in the flash.text.TextField class.
 CSMSettingsThe CSMSettings class contains properties for use with the TextRenderer.setAdvancedAntiAliasingTable() method to provide continuous stroke modulation (CSM).
 FontThe Font class is used to manage embedded fonts in SWF files.
 FontStyleThe FontStyle class provides values for the TextRenderer class.
 FontTypeThe FontType class contains the enumerated constants "embedded" and "device" for the fontType property of the Font class.
 GridFitTypeThe GridFitType class defines values for grid fitting in the TextField class.
 StaticTextThis class represents StaticText objects on the display list.
 StyleSheetThe StyleSheet class lets you create a StyleSheet object that contains text formatting rules for font size, color, and other styles.
 TextColorTypeThe TextColorType class provides color values for the flash.text.TextRenderer class.
 TextDisplayModeThe TextDisplayMode class contains values that control the subpixel anti-aliasing of the advanced anti-aliasing system.
 TextFieldThe TextField class is used to create display objects for text display and input.
 TextFieldAutoSizeThe TextFieldAutoSize class is an enumeration of constant values used in setting the autoSize property of the TextField class.
 TextFieldTypeThe TextFieldType class is an enumeration of constant values used in setting the type property of the TextField class.
 TextFormatThe TextFormat class represents character formatting information.
 TextFormatAlignThe TextFormatAlign class provides values for text alignment in the TextFormat class.
 TextLineMetricsThe TextLineMetrics class contains information about the text position and measurements of a line of text within a text field.
 TextRendererThe TextRenderer class provides functionality for the advanced anti-aliasing capability of embedded fonts.
 TextSnapshotTextSnapshot objects let you work with static text in a movie clip.