MACROMEDIA FLASH MEDIA SERVER 2-SERVER-SIDE ACTIONSCRIPT LANGUAGE Reference page 132

Server-side actionscript language reference
Table of Contents

Advertisement

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 1.0.
Usage
mySO.onSync = function(list){}
Parameters
An array of objects that contain information about the properties of a shared object
list
that have changed since the last time the
proxied 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.
Local shared objects
Code
Meaning
A property was changed by a subscriber.
change
A property was deleted by a subscriber.
delete
The name of a property that has changed or been deleted.
name
The old value of a property. This is true for both
oldValue
the client,
Changing or deleting a property on the server side using the
method always succeeds, so there is no notification of these changes.
132
Server-Side ActionScript Language Reference
onStatus
onSync
is not set for
oldValue
event handler for the shared object
handler was called. The notifications for
change
.
delete
soInstance
and
messages; on
delete
SharedObject.setProperty()
:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MEDIA SERVER 2-SERVER-SIDE ACTIONSCRIPT LANGUAGE and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash media server 2

Table of Contents