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

Server-side actionscript language reference
Table of Contents

Advertisement

SharedObject.isDirty
Availability
Flash Media Server 2.
Usage
mySO.isDirty
Description
Property (read-only); a Boolean value indicating whether a persistent shared object has been
modified since the last time it was stored (
) or not (
).
true
false
The
method stores shared objects with an
property that is
SharedObject.commit()
isDirty
.
true
This property is always
for non-persistent shared objects.
false
Example
The following example saves the so shared object if it has been changed:
var so = SharedObject.get("foo", true);
if (so.isDirty){
SharedObject.commit(so.name);
}
SharedObject.lock()
Availability
Flash Communication Server MX 1.0.
Usage
mySO.lock()
Parameters
None.
Returns
An integer indicating the lock count: 0 or greater indicates success; -1 indicates failure. For
proxied shared objects, always returns -1.
128
Server-Side ActionScript Language Reference

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?

This manual is also suitable for:

Flash media server 2

Table of Contents