This is a fairly basic question, but maybe I'm just using the wrong
search terms to find the answer in the archives. Keep in mind that
I've only ever done basic Java before.
I'm creating a simple chat client using red5/flex. I know there is
some example code out there, but it doesn't quite handle what I'm
trying to do.
Inside red5, on the roomStart() function I have:
createSharedObject(room, "chatSO", false);
ISharedObject so = getSharedObject(room, "chatSO");
Now I'd like to add an object that contains 4 strings to the shared
object. In flash media server actionscript this might look something
like:
so.setProperty(userName, {user:userName, condition:client.condition,
role:userRole, room: roomName, arrival: client.arrival});
I know that the following adds a single string:
so.setAttribute("userName", "Joe User");
but how does it work when I want to set a slot in the shared object to
be an object that contains 4 strings, does Red5 support this?
Any help would be greatly appreciated.
~Curt
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org