Macromedia flash mx professional 2004-macromedia flash lite 1.1 authoring guidelines Benutzerhandbuch

Seite von 86
Platform integration commands
43
1
: There is a pending request, and a network connection is being established.
2
: There is a pending request, but a network connection has not yet been established.
3
: There is a pending request, a network connection has been established, and the server’s host 
name is being resolved.
4
: The request failed because of a network error.
5
: The request failed because of a failure in connecting to the server.
6
: The server returned an HTTP error (for example, 404).
7
: The request failed because of a failure in accessing the DNS server or in resolving the server 
name.
8
: The request has been successfully fulfilled.
9
: The request failed because of a timeout.
10
: The request has not yet been made.
GetNetworkStatus()
The 
GetNetworkStatus()
 function returns a value indicating the network status of the phone 
(that is, whether there is a network registered and whether the phone is currently roaming).
This function is executed immediately upon invocation. If The 
GetNetworkStatus()
 is not 
supported, a value of 
-1
 is returned.
Syntax
status = FSCommand2( "GetNetworkStatus” )
Return value
A value of 
-1
 if the function is not supported; otherwise, one of the following values:
0
: No network registered.
1
: On home network.
2
: On extended home network.
3
: Roaming (away from home network).
GetSignalLevel()
The 
GetSignalLevel()
 function returns the current signal strength. It is a numeric value, in the 
range of 
0
 to the maximum value returned by 
GetMaxSignalLevel()
.
This function is executed immediately upon invocation. If 
GetSignalLevel()
 is not supported, 
a value of 
-1
 is returned.
Syntax
status = FSCommand2( "GetSignalLevel” )