Macromedia flash media server 2-client-side actionscript language reference for flash media server 2 User Manual

Page of 156
SharedObject class
119
Usage
myRemote_so.close()
Parameters
None.
Returns
Nothing.
Description
Method; closes the connection between a remote shared object and the Flash Media Server.
If a remote shared object is locally persistent, the user can make changes to the local copy of 
the object after this method is called. Any changes made to the local object are sent to the 
server the next time the user connects to the remote shared object.
See also
SharedObject.connect()
Availability
Flash Player 6.
Flash Communication Server MX 1.0.
Usage
myRemote_so.connect(myRTMPConnection)
Parameters
myRTMPConnection
  A NetConnection object that is using the Real-Time Messaging 
Protocol (RTMP) to communicate with the Flash Media Server.
Returns
A Boolean value of 
true
 if the connection was successfully completed; otherwise, 
false.
Description
Method; connects to a remote shared object on the Flash Media Server through the specified 
connection. Use this method after issuing 
connection, the 
 event handler is invoked.