Server-Side Communication ActionScript > NetConnection (object) > Method summary for the NetConnection object

Method

Description

NetConnection.addHeader

Adds a context header.

NetConnection.call

Invokes a method or operation on a remote server.

NetConnection.close

Closes a server connection.

NetConnection.connect

Establishes connection to a server.


 

Method summary for the NetConnection object

Method

Description

NetConnection.addHeader

Adds a context header.

NetConnection.call

Invokes a method or operation on a remote server.

NetConnection.close

Closes a server connection.

NetConnection.connect

Establishes connection to a server.


 
Property summary for the NetConnection object

Property

Description

NetConnection.isConnected

A Boolean value indicating whether a connection has been made.

NetConnection.uri

The URI that was passed by the NetConnection.connect method.


 
Event handler summary for the NetConnection object

Event handler

Description

NetConnection.onStatus

Called when there is a change in connection status.


 
Constructor for the NetConnection object

Availability

Flash Communication Server MX.

Usage

new NetConnection()

Parameters

None.

Returns

A NetConnection object.

Description

Constructor; creates a new instance of the NetConnection object.

Example

The following example creates a new instance of the NetConnection object:

newNC = new NetConnection();