Flash Lite 2.x and 3.0 ActionScript Language Reference

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.

Command

Parameters

Value Returned

SetFocusRectColor

None

-1: Not supported
0: Indeterminable
1: Success

Example

The following statement resets the color of the focus rectangle:

status = fscommand2("SetFocusRectColor, <red>, <green>, <blue>);