Sharedobject.onstatus; Sharedobject.onsync - MACROMEDIA FLASH COMMUNICATION SERVER MX-SERVER-SIDE COMMUNICATION ACTIONSCRIPT DICTIONARY Manual

Server-side communication actionscript dictionary
Table of Contents

Advertisement

Example
This example outputs
mySO = SharedObject.get("foo");
trace(mySO.name);

SharedObject.onStatus

Availability
Flash Communication Server MX.
Usage
SharedObject.onStatus = function(info) {
// insert code here
};
Parameters
An information object. For more information, see the Appendix, "Client-Side
info
Information Objects," in the Client-Side Communication ActionScript Dictionary.
Returns
Nothing.
Description
Event handler; reports errors, warnings, and status messages associated with either a local instance
of a shared object or a persistent shared object.
Example
The following example defines an
soInstance = SharedObject.get("foo", true);
soInstance.onStatus = function(infoObj){
//Handle SO status messages
}

SharedObject.onSync

Availability
Flash Communication Server MX.
Usage
SharedObject.onSync = function(list){
return;
};
Parameters
An array of objects that contain information about the properties of a shared object that
list
have changed since the last time the
shared objects are different than for shared objects that are owned by the local application
instance. The following tables list the descriptions for each type of shared object.
50
to the NetConnection Debugger:
foo
onStatus
method was called. The notifications for proxied
onSync
event handler for the shared object
:
soInstance

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH COMMUNICATION SERVER MX-SERVER-SIDE COMMUNICATION ACTIONSCRIPT DICTIONARY and is the answer not in the manual?

This manual is also suitable for:

Flash communication server mx

Table of Contents