EasyManua.ls Logo

MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE - Quality (Textfield._Quality Property)

MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE
780 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
672 ActionScript classes
Example
The following example creates two text fields:
username_txt and password_txt. Text is
entered into both text fields; however,
password_txt has the password property set to true.
Therefore, the characters display as asterisks instead of as characters in the
password_txt
field.
this.createTextField("username_txt", this.getNextHighestDepth(), 10, 10,
100, 22);
username_txt.border = true;
username_txt.type = "input";
username_txt.maxChars = 16;
username_txt.text = "hello";
this.createTextField("password_txt", this.getNextHighestDepth(), 10, 40,
100, 22);
password_txt.border = true;
password_txt.type = "input";
password_txt.maxChars = 16;
password_txt.password = true;
password_txt.text = "world";
_quality (TextField._quality property)
public _quality : String
Property (global); sets or retrieves the rendering quality used for a SWF file. Device fonts are
always aliased and, therefore, are unaffected by the
_quality property.
Note: Although you can specify this property for a TextField object, it is actually a global
property, and you can specify its value simply as
_quality. For more information, see the
_quality property.
The
_quality property can be set to the following values:
"LOW" Low rendering quality. Graphics are not anti-aliased, and bitmaps are not
smoothed.
"MEDIUM" Medium rendering quality. Graphics are anti-aliased using a 2 x 2 pixel grid, but
bitmaps are not smoothed. The quality is suitable for movies that do not contain text.
"HIGH" High rendering quality. Graphics are anti-aliased using a 4 x 4 pixel grid, and
bitmaps are smoothed if the movie is static. This is the default rendering quality used by
Flash.
"BEST" Very high rendering quality. Graphics are anti-aliased using a 4 x 4 pixel grid and
bitmaps are always smoothed.
Note: This property is not supported for Arabic, Hebrew, and Thai.
Availability: ActionScript 1.0; Flash Lite 2.0

Table of Contents

Related product manuals