The following table shows what effect each mode has, and what modes are substituted:
Mode
Sets the FEP to one of these mutually
specified
exclusive modes
Numeric
Numbers only (0 to 9)
Alpha
Alphabetic characters only (A to Z, a to z)
Alphanumeric
Alphanumeric characters only (0 to 9, A to Z,
a to z)
Latin
Latin characters only (alphanumeric and
punctuation)
NonLatin
Non-Latin characters only (for example, Kanji
and Kana)
NoRestriction
Default mode (sets no restriction on the FEP)
Not all mobile phones support these input text field types. For this reason, you must
validate the input text data.
Example
The following line of code sets the input text type of the field associated with the
variable to receive numeric data:
status = fscommand2("SetInputTextType", "input1", "Numeric");
SetQuality
Availability
Flash Lite 1.1.
Description
Sets the quality of the rendering of the animation.
Command
"SetQuality"
Example
The following example sets the rendering quality to low:
status = fscommand2("SetQuality", "low");
Parameters
The rendering quality; must be
quality
,
or
"high"
"medium",
"low"
If not supported on
current device, opens
the FEP in this mode
Alphanumeric
Alphanumeric
Latin
NoRestriction
NoRestriction
Value returned
-1: Not supported.
.
0: Supported.
fscommand2()
input1
153
Need help?
Do you have a question about the FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE and is the answer not in the manual?