Creates a NetConnection object that you can use with a NetStream object to invoke commands on a remote application server or to play back streaming video (FLV) files either locally or from a server.
|
Method |
Description |
|---|---|
| connect(); |
connect(command:String, ... arguments):void Opens a connection to a server. |
| close(); |
close():void Closes the connection that was opened locally or with the server and dispatches the netStatus event with a code property of NetConnection.Connect.Closed. |