154
Flash Lite Specific Language Elements
SetSoftKeys
Availability
Flash Lite 1.1.
Description
Remaps the Left and Right soft keys of the device, provided that they can be accessed
and remapped.
After this command is executed, pressing the left key generates a
PageUp
keypress event, and
pressing the right key generates a
PageDown
keypress event. ActionScript associated with the
PageUp
and
PageDown
keypress events is executed when the respective key is pressed.
This command is supported only when Flash Lite is running in stand-alone mode. It is not
supported when the player is running in the context of another application (for example, as a
plug-in to a browser).
Example
The following example directs that the Left soft key be labeled Previous and the Right soft key
be labeled Next:
status = fscommand2("SetSoftKeys", "Previous", "Next");
See also
ResetSoftKeys
Command
Parameters
Value returned
"SetSoftKeys"
left
Text to be displayed for the Left soft key.
right
Text to be displayed for the Right soft key.
These parameters are either names of variables or
constant string values (for example,
"Previous"
).
-1: Not supported.
0: Supported.
Содержание FLASH 8-FLASH
Страница 1: ...Flash Lite 1 x ActionScript Language Reference...
Страница 6: ...6 Contents...
Страница 46: ...46 Flash Lite Global Functions...
Страница 62: ...62 Flash Lite Properties...
Страница 76: ...76 Flash Lite Statements...
Страница 110: ...110 Flash Lite Operators...
Страница 162: ...162 Index...