Server-Side Communication ActionScript > SharedObject.size

 

SharedObject.size

Availability

Flash Communication Server MX.

Usage

mySharedObject.size()

Parameters

None.

Returns

An integer indicating the number of properties.

Description

Method; returns the total number of valid properties in a shared object.

Example

This example gets the number of properties of a shared object and assigns that number to the variable len:

var myShared = SharedObjecd.get(application, "foo", true);
var len = myShared.size();