Flash Lite 2.x and 3.0 ActionScript Language Reference

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).

Command

Parameters

Value Returned

FullScreen

size

-1: Not supported
0: Supported

Example

The following example sets the size of the display area to the full screen:

status = fscommand2("FullScreen", true);