GetNetworkName fscommand2 Command

GetNetworkName

Personalized wallpapers and screensavers for mobile phones

Sets a parameter to the name of the current network.

Command
GetNetworkName

Parameters
networkName String 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.

Value Returned
-1: Not supported. 0: No network is registered. 1: Network is registered, but network name is not known. 2: Network is registered, and network name is known.

Availability: ActionScript 1.0; Flash Lite 1.1

Example

The following example assigns the name of the current network to the myNetName parameter and a status value to the netNameStatus variable:
netNameStatus = fscommand2("GetNetworkName", myNetName);

Back to home