fscommand2 function
fscommand2(command:String, parameter1:String,...parameterN:String) : Void
Lets the SWF file communicate with the Flash Lite player or a host application on a mobile
device.
The
function is similar to the
fscommand2()
differences:
The
■
fscommand2()
can take only one argument.
fscommand()
Flash Lite executes
■
whereas
fscommand()
The
■
fscommand2()
the result of the command.
To use
fscommand2()
commands and parameters. See the "fscommand2 Commands" section under "ActionScript
language elements" for the values you can specify for the
and parameters. These values control SWF files that are playing in the Flash Lite player.
Note: None of the
fscommand2()
Deprecated fscommand2() commands
Some
fscommand2()
The following table shows the deprecated
Command
Escape
GetDateDay
GetDateMonth
GetDateWeekday
GetDateYear
GetLanguage
GetLocaleLongDate
GetLocaleShortDate
GetLocaleTime
GetTimeHours
GetTimeMinutes
function can take any number of arguments. By contrast,
immediately (in other words, within the frame),
fscommand2()
is executed at the end of the frame being processed.
function returns a value that can be used to report success, failure, or
to send a message to the Flash Lite player, you must use predefined
commands are available in Web players.
commands from Flash Lite 1.1 have been deprecated in Flash Lite 2.0.
fscommand2()
function, with the following
fscommand()
fscommand()
commands:
Deprecated By
global function
escape
method of Date object
getDate()
method of Date object
getMonth()
method of Date object
getDay()
method of Date object
getYear()
System.capabilities.language
getLocaleLongDate()
getLocaleShortDate()
method of Date object
getLocaleTime()
method of Date object
getHours()
method of Date object
getMinutes()
function's commands
property
method of Date object
method of Date object
Global Functions
47