The NetConnection() Object


The NetConnection() Object

Flash Player 6 connects with the Flash Communication Server using the NetConnection() object. The NetConnection() object maintains persistent connection using the Real Time Messaging Protocol (RTMP). It is defined by Macromedia as "the object that manages multi-directional communication between the Flash Communication Server and Flash Remoting MX servers." Think of the NetConnection like a tunnel between the client and server. The tunnel can facilitate the transmission of multiple one-way streams or ActionScript objects coded in Action Message Format (AMF). It is the only two-way connection possible between client and server. The NetConnection() object cannot establish a connection between two Flash players; for that functionality, you can use the LocalConnection object.



Macromedia Flash Communication Server MX
Macromedia Flash Communication Server MX
ISBN: 0735713332
EAN: 2147483647
Year: 2002
Pages: 200
Authors: Kevin Towes

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net