NetConnection Object

The NetConnection object enables bi-directional communication using the RTMP protocol between two application instances on the same server or on different servers. This server-side object operates similar to the client-side NetConnection object. It cannot connect with a Flash player. This appendix only represents the methods that are unique to the server. Please refer to NetConnection in Appendix B,"Flash ActionScript Objects Quick Reference."

Unique SSAS NetConnection Object Methods

Unique SSAS NetConnection methods are described in the following sections.

myNetConn.addHeader(name, mustUnderstand, object)

Sets the HTTP context header for an AMF packet over the NetConnection.

name The ActionScript object name identifying the header.
mustUnderstand A Boolean value; when set to true, the server is forced to process the header before the message.
object An ActionScript object.



    Part I: 10 Quick Steps for Getting Started