MACROMEDIA FLASH COMMUNICATION SERVER MX-SERVER-SIDE COMMUNICATION ACTIONSCRIPT DICTIONARY Specifikace Strana 335

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 369
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 334
Server-Side Communication ActionScript 35
Method summary for the NetConnection object
Property summary for the NetConnection object
Event handler summary for the NetConnection object
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();
NetConnection.addHeader
Availability
Flash Communication Server MX.
Usage
myNetConn.addHeader(name, mustUnderstand, 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 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 Description
NetConnection.onStatus Called when there is a change in connection status.
Zobrazit stránku 334
1 2 ... 330 331 332 333 334 335 336 337 338 339 340 ... 368 369

Komentáře k této Příručce

Žádné komentáře