Server-Side Communication ActionScript > SharedObject.onStatus

 

SharedObject.onStatus

Availability

Flash Communication Server MX.

Usage

SharedObject.onStatus = function(info) {
	// insert code here
};

Parameters

info An information object. For more information, see the Appendix, "Client-Side 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 onStatus event handler for the shared object soInstance:

soInstance = SharedObject.get("foo", true);
soInstance.onStatus = function(infoObj){
	//Handle SO status messages
};