
86
Method summary for the SharedObject object
Property summary for the SharedObject object
Event handler summary for the SharedObject object
Constructor for the SharedObject object
For information on creating objects that do not require Flash Communication Server, see
SharedObject.getLocal. For all other objects, see SharedObject.getRemote.
Method Description
SharedObject.close Closes the connection between a remote shared object and the Flash
Communication Server.
SharedObject.connect Connects to a remote shared object on the Flash Communication Server.
SharedObject.flush Immediately writes a locally persistent shared object to a local file.
SharedObject.getLocal Returns a reference to a locally persistent shared object that is available only
to the current client.
SharedObject.getRemote Returns a reference to a shared object that is available to multiple clients by
means of the Flash Communication Server.
SharedObject.getSize Gets the current size of the shared object, in bytes.
SharedObject.send Broadcasts a message to all clients connected to the remote shared object,
including the client that sent the message.
SharedObject.setFps Specifies the number of times per second that a client’s changes to a shared
object are sent to the server.
Property (read-only) Description
SharedObject.data The collection of attributes assigned to the data property of the object, which
will be shared and/or stored.
Method Description
SharedObject.onStatus Invoked every time an error, warning, or informational note is posted for a
shared object.
SharedObject.onSync Initially invoked when the client and server shared object are synchronized
after a successful call to
SharedObject.connect, and later invoked
whenever any client changes the attributes of the data property of the
remote shared object.
Commenti su questo manuale