Server-Side Communication ActionScript > SharedObject.getProperty

 

SharedObject.getProperty

Availability

Flash Communication Server MX.

Usage

mySharedObject.getProperty(name)

Parameters

name The name of the property in the shared object.

Returns

The value of a SharedObject property.

Description

Method; retrieves the value of a named property in a shared object. The returned value is a copy associated with the property, and any changes made to the returned value do not update the shared object. To update a property, use the SharedObject.setProperty method.

Example

The following example gets the value of the name property and passes it to the value variable:

value = sharedInfo.getProperty(name); 

See also

SharedObject.setProperty