fscommand2()

Availability

Flash Lite 1.1.

Usage

returnValue = fscommand2(command [, expression1 ... expressionN])

Parameters

command A string passed to the host application for any use or a command passed to Flash Lite.

parameter1...parameterN A comma-delimited list of strings passed as parameters to the command specified by command.

Description

Function; allows the SWF file to communicate with either Flash Lite or the host environment, such as the phone or device's operating system. The value that fscommand2() returns depends on the specific command.

The fscommand2() function is similar to the fscommand() function, with the following differences:

The strings and expressions that you pass to the function as commands and parameters are described in the tables in this section.

The tables have the following three columns:

Example

Examples are provided with the specific commands that you execute using the fscommand2() function, which are described in the rest of this section.

See also

fscommand()