On 5/21/06, Tom Krcha <[EMAIL PROTECTED]> wrote:
> Then onAppJoin
> so.sendMessage(„messageFromServerToClient",listOfArguments);
> and it doesn't work … it throws an error.
>
> How can we send messages through sharedObject from server to client?
Try so.setAttribute("attrName", value);
If you want to send multiple changes at once (being notified only once
in the onSync method on client) you should put:
so.beginUpdate();
so.setAttribute("a", v);
.....
so.endUpdate();
Regards,
GK
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org