Flash Lite 2.x and 3.0 ActionScript Language Reference

Quit fscommand2 Command

Quit

Causes the Flash Lite player to stop playback and exit.

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

Quit

None

-1: Not supported.

Example

The following example causes Flash Lite to stop playback and quit when running in stand-alone mode:

status = fscommand2("Quit");