Getnetworkgeneration Fscommand2 Command; Getnetworkname Fscommand2 Command - MACROMEDIA FLASHLITE2 ACTIONSCRIPT-LANGUAGE Reference

Actionscript language reference
Table of Contents

Advertisement

GetNetworkGeneration fscommand2 Command

GetNetworkGeneration
Returns the generation of the current mobile wireless network, such as 2G (second generation
of mobile wireless).
Command
GetNetworkGeneration
Availability: ActionScript 1.0; Flash Lite 2.0
Example
The following example shows syntax for returning the generation of the network:
status = fscommand2("GetNetworkGeneration");

GetNetworkName fscommand2 Command

GetNetworkName
Sets a parameter to the name of the current network.
Command
GetNetworkName
Availability: ActionScript 1.0; Flash Lite 1.1
Example
The following example assigns the name of the current network to the
and a status value to the
netNameStatus = fscommand2("GetNetworkName", myNetName);
Parameters
None
Parameters
String
networkName
representing the network
name. It can be either the
name of a variable or a
string value that contains
the name of a variable.
If the network is registered
and its name can be
determined, networkname
is set to the network name;
otherwise, it is set to the
empty string.
variable:
netNameStatus
Value Returned
: Not supported
: Unknown
-1
0
generation of mobile wireless
network
: 2G
: 2.5G
1
2
Value Returned
-1: Not supported.
: No network is
0
registered.
: Network is registered,
1
but network name is not known.
Network is registered, and network
name is known.
myNetName
fscommand2 Commands
: 3G
3
:
2
parameter
233

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASHLITE2 ACTIONSCRIPT-LANGUAGE and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash lite 2

Table of Contents