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
pressing the right key generates a
and
PageUp
PageDown
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).
Command
Parameters
"SetSoftKeys"
left
right
These parameters are either names of variables or
constant string values (for example,
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
154
Flash Lite Specific Language Elements
PageDown
keypress events is executed when the respective key is pressed.
Text to be displayed for the Left soft key.
Text to be displayed for the Right soft key.
PageUp
keypress event. ActionScript associated with the
"Previous"
keypress event, and
Value returned
-1: Not supported.
0: Supported.
).
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?