This property is
by default. This can be overridden by specifying the initial state using
true
the following configuration key in the Application.xml file, as shown in the following
example:
<SharedObjManager>
<AutoCommit>false</AutoCommit>
</SharedObjManager>
SharedObject.clear()
Availability
Flash Communication Server MX 1.0.
Usage
mySO.clear()
Parameters
None.
Returns
Returns
if successful;
otherwise.
true
false
Description
Method; deletes all the properties of a single shared object and sends a
event to all
clear
clients that subscribe to a persistent shared object. The persistent data object is also removed
from a persistent shared object.
Example
The following example calls the
method on the shared object
:
clear()
myShared
var myShared = SharedObject.get("foo", true);
var len = myShared.clear();
See also
Application.clearSharedObjects()
SharedObject.close()
Availability
Flash Communication Server MX 1.0.
Usage
mySO.close()
120
Server-Side ActionScript Language Reference
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?