// Sever side...
var myShared = SharedObject.get("foo", true);
myShared.send("doSomething", "this is a test");
// Client side
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 object.
};
Thanks for this answer, but i have the same problem an no idea to
resolve it with client property
I try :
var x = SharedObject.getRemote("foo", connection.uri, true);
x.client=Test
function Test(p) {
// Process the str object.
};
but it doesn't work.
do you have more information about the process?
thw a lot