The NetConnection class lets you create a two-way connection between Flash Player and a Flash Media Server application. A NetConnection is like a pipe between the client and the server. Use the NetStream class to send data through the pipe.
Flash Communication Server 1.0; Flash Player 6.
|
Method |
Description |
|---|---|
|
Invokes a method defined on a Client object in Server-Side ActionScript. |
|
|
Closes the connection with the server. |
|
|
Connects to an application on Flash Media Server. |
|
Property (read-only) |
Description |
|---|---|
|
Read-only; a Boolean value that indicates whether Flash Player is connected to the server (true) or not (false) through the specified connection. |
|
|
Read-only; the target URI that was passed to NetConnection.connect(). |
|
Event |
Description |
|---|---|
|
Invoked when a status change or error is posted for the NetConnection object. |