Here is the Adobe example for using so.send() with a non-permanent SO-
var so = SharedObject.getRemote(“foo”, nc.uri, false); so.connect(nc);
so.doSomething = function(str) {
// Process the str object.
};
…
Adobe also give this code:
var so = SharedObject.get(“foo”, true);
so.send(“doSomething”, “This is a test”);
…
The above doesn’t have the nc.uri or say “Remote” after the “get”, so I guess it is on the server. As it would be in actionscript, can you direct me where the server-side script for wowza is to use the so.send() command?
However, I am sure the SO.doSomething(whatever) will still give the error “undefined property doSomething”.
Also, as it is a non-permanent SO and can have any name, how would the server be able to know to attach the client-function’s name to it.
Use the sharedObject.send() instruction for my chat (I have been using sharedObject.setProperty for a year now, but this will save me a using a special shared object just to send messages on chat. I can just use an existing shared object with the SO.send() instruction)
OK - perhaps not clear (I had the 'flu coming on then) -
Question: Is there any additional server-side code needed to use the sharedObject.send() instruction to/from temporary remote shared objects? Everything else works with the shared objects, but I am having difficulty with this particular function.