Returns
A Boolean value of
Description
Method; executes a method in a client-side script. You can use
asynchronously execute a method on all the Flash clients subscribing to a shared object. The
server does not receive any notification from the client on the success, failure, or return value in
response to this message.
Example
This example calls the
client-side ActionScript and passes
var myShared = SharedObject.get("foo", true);
myShared.send("doSomething", "this is a test");
The following example is the client-side ActionScript code that defines the
connection = new NetConnection();
connection.connect("rtmp://www.macromedia.com/someApp");
var x = SharedObject.getRemote("foo", connection.uri, true);
x.connect(connection);
x.doSomething = function(str) {
// process the str
};
SharedObject.setProperty
Availability
Flash Communication Server MX.
Usage
sharedInfo.setProperty(name, value);
Parameters
The name of the property in the shared object.
name
An ActionScript object associated with the property, or
value
Returns
Nothing.
Description
Method; updates the value of a property in a shared object. A shared object property can be
modified by another user of the shared object between successive calls to
SharedObject.getProperty
transactional integrity, call the
object; be sure to call
SharedObject.lock
shared object, and all subscribers of the object are notified before
returns. If a call to the
SharedObject.setProperty
method is called.
54
if the message was sent to the client;
true
SharedObject.send
doSomething
and
SharedObject.setProperty
SharedObject.lock
SharedObject.unlock
and the
SharedObject.setProperty
SharedObject.lock
, all changes are batched and sent when the
false
SharedObject.send
method to execute the
the string
"this is a test"
null
. If you want to preserve
method before operating on the shared
when the operations finish. If you don't call
is called, the change is made to the
method precedes a call to
otherwise.
to
method in the
doSomething
.
doSomething
to delete the property.
SharedObject.setProperty
SharedObject.unlock
method:
Need help?
Do you have a question about the FLASH COMMUNICATION SERVER MX-SERVER-SIDE COMMUNICATION ACTIONSCRIPT DICTIONARY and is the answer not in the manual?