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.clear()
,
SharedObject.connect()
,
SharedObject.flush()
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
SharedObject.getRemote()
. After a successful
connection, the
SharedObject.onSync
event handler is invoked.