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.
Command
Parameters
ExtendBacklight
duration
Duration
duration, in seconds.
Maximum value of 60
seconds.
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:
(full screen) or
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).
Command
Parameters
FullScreen
size
Availability: ActionScript 1.0; Flash Lite 1.1
The backlight
(less than full screen). Any other value is treated as the value
Value Returned
-1: Not supported 0: An error occurred, and
the operation could not be completed. 1:
Success
Value Returned
-1: Not supported0: Supported
fscommand2 Commands
true
.
false
227
Need help?
Do you have a question about the FLASHLITE2 ACTIONSCRIPT-LANGUAGE and is the answer not in the manual?