User Guide

fscommand2 Commands 227
ExtendBacklightDuration fscommand2 Command
ExtendBacklightDuration
Extends the duration of a backlight for a specified period of time.
If the duration is greater than zero, this command specifies the amount of time in seconds
(maximum of 60 seconds) that the backlight should be kept on. If the time elapses without an
additional call to this command, the backlight behavior reverts to the default duration. If
duration is zero, the backlight behavior immediately reverts to the default behavior.
Note: This feature is system dependent. For example, some systems limit the total duration
that the backlight can be extended.
Availability: ActionScript 1.0; Flash Lite 2.0
Example
The following example extends the duration of the backlight for 45 seconds:
status = FSCommand2("ExtendBacklightDuration", 45)
FullScreen fscommand2 Command
FullScreen
Sets the size of the display area to be used for rendering.
The size can be a defined variable or a constant string value, with one of these values:
true
(full screen) or
false (less than full screen). Any other value is treated as the value false.
Note: 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).
Availability: ActionScript 1.0; Flash Lite 1.1
Command Parameters Value Returned
ExtendBacklight
Duration
duration The backlight
duration, in seconds.
Maximum value of 60
seconds.
-1: Not supported 0: An error occurred, and
the operation could not be completed. 1:
Success
Command Parameters Value Returned
FullScreen size -1: Not supported0: Supported