240
ActionScript language elements
SetFocusRectColor fscommand2 Command
SetFocusRectColor
Sets the color of the focus rectangle to any color.
The acceptable range of values for red, green, and blue is 0-255. For Flash, you cannot change
the default color of the focus rectangle, which is yellow.
Availability:
ActionScript 1.0; Flash Lite 2.0
Example
The following statement resets the color of the focus rectangle:
status = fscommand2("SetFocusRectColor, <red>, <green>, <blue>);
SetInputTextType fscommand2 Command
SetInputTextType
Specifies the mode in which the input text field should be opened.
Flash Lite supports input text functionality by asking the host application to start the generic
device-specific text input interface, often referred to as the front-end processor (FEP). When
the SetInputTextType command is not used, the FEP is opened in default mode.
Command
Parameters
Value Returned
SetFocusRectColor
None
-1
: Not supported
0
:
Indeterminable
1
: Success
Command
Parameters
Value Returned
SetInputTextType
variableName
Name of the input text
field. It can be either the name of a
variable or a string value that
contains the name of a variable.
type
One of the values
Numeric
,
Alpha
,
Alphanumeric
,
Latin
,
NonLatin
, or
NoRestriction
.
0
: Failure.
1
: Success.
Summary of Contents for Flash Lite 2
Page 1: ...Flash Lite 2 x ActionScript Language Reference...
Page 22: ...22 Contents...
Page 244: ...244 ActionScript language elements...
Page 760: ...760 ActionScript classes...