networkstatus = fscommand2("GetNetworkStatus");
switch(networkstatus) {
case -1:
_root.myText += "network status not supported" + "\n";
break;
case 0:
_root.myText += "no network registered" + "\n";
break;
case 1:
_root.myText += "on home network" + "\n";
break;
case 2:
_root.myText += "on extended home network" + "\n";
break;
case 3:
_root.myText += "roaming" + "\n";
break;
}
GetPlatform fscommand2 Command
GetPlatform
Sets a parameter that identifies the current platform, which broadly describes the class of
device. For devices with open operating systems, this identifier is typically the name and
version of the operating system.
Command
GetPlatform
Availability: ActionScript 1.0; Flash Lite 1.1
Example
The following example sets the
status = fscommand2("GetPlatform", "platform");
The following examples show some sample results for
A 506i phone.
506i
FOMA1
version 1 phone.
Symbian7.0
236
ActionScript language elements
Parameters
Value Returned
String
platform
-1
to receive the
identifier of the
platform.
parameter to the identifier for the current platform:
platform
A FOMA1 phone.
Symbian6.1_s60.1
A Symbian 7.0 phone
: Not supported.
: Supported.
0
:
platform
A Symbian 6.1, Series 60
Need help?
Do you have a question about the FLASHLITE2 ACTIONSCRIPT-LANGUAGE and is the answer not in the manual?
Questions and answers