Flash Lite 1.x ActionScript Language Reference |
|
|
|
| Flash Lite Specific Language Elements > fscommand2() > GetNetworkName | |||
Flash Lite 1.1.
Sets a parameter to the name of the current network.
|
Command |
Parameters |
Value returned |
|---|---|---|
|
|
If the network is registered and its name can be determined, |
-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. |
The following example assigns the name of the current network to the myNetName variable and a status value to the netNameStatus variable:
netNameStatus = fscommand2("GetNetworkName", myNetName);
|
|
|
|