![MACROMEDIA FLASH 8-FLASH Reference Download Page 142](http://html2.mh-extra.com/html/macromedia/flash-8-flash/flash-8-flash_reference_3347197142.webp)
142
Flash Lite Specific Language Elements
Example
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);
GetNetworkRequestStatus
Availability
Flash Lite 1.1.
Description
Returns a value indicating the status of the most recent HTTP request.
Command
Parameters Value returned
"GetNetworkRequestStatus"
None.
-
1: The command is not supported.
0: There is a pending request, a network
connection has been established, the server’s
host name has been resolved, and a connection
to the server has been made.
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 has 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.
Summary of Contents for FLASH 8-FLASH
Page 1: ...Flash Lite 1 x ActionScript Language Reference...
Page 6: ...6 Contents...
Page 46: ...46 Flash Lite Global Functions...
Page 62: ...62 Flash Lite Properties...
Page 76: ...76 Flash Lite Statements...
Page 110: ...110 Flash Lite Operators...
Page 162: ...162 Index...