User Guide
NetConnection class 65
Method summary for the NetConnection class
Property summary for the NetConnection class
Event handler summary for the NetConnection class
Constructor for the NetConnection class
Availability
■ Flash Player 6.
■ Flash Communication Server MX 1.0.
Usage
new NetConnection()
Parameters
None.
Returns
A NetConnection object.
Method Description
NetConnection.call() Invokes a command or method on the server.
NetConnection.close() Closes the connection with the server.
NetConnection.connect() Connects to an application on the Flash Media Server.
Property (read-only) Description
NetConnection.isConnected Read-only; a Boolean value that indicates whether Flash
Player is connected to the server (
true) or not (false)
through the specified connection.
NetConnection.uri Read-only; the target URI that was passed in with
NetConnection.connect().
Method Description
NetConnection.onStatus Invoked when a status change or error is posted for the
NetConnection object.