ActionScript 2.0 Language Reference |
|
|
|
| ActionScript classes > TextRenderer (flash.text.TextRenderer) > displayMode (TextRenderer.displayMode property) | |||
public static displayMode : String
Controls the rendering of advanced anti-aliased text. The visual quality of text is very subjective, and while Flash Player tries to use the best settings for various conditions, designers may choose a different look or feel for their text. Also, using displayMode allows a designer to override Flash Player's subpixel choice and create visual consistency independent of the user's hardware.
The following values for displayMode allow the designer to set the global subpixel rendering mode for advanced anti-aliasing:
"default" allows Flash Player to choose LCD or CRT mode."lcd" forces Flash Player to use LCD sub-pixel antialiasing. Depending on the font and the hardware, this setting can result in much higher-resolution text or "coloring" of text."crt" forces Flash Player to display grayscale antialiasing. While this setting avoids the "coloring" of text, some users may think it appears more "fuzzy".Note: While this property is available for ActionScript 2.0, you can use it only when publishing to Flash Player 9 or later.
Availability: ActionScript 2.0; Flash Player 9
|
|
|
|