[Red5] SharedObjects Client vs. Server

Bogdan Dusa b_dusa at yahoo.com
Tue May 23 13:06:56 EDT 2006


We did the server/client modification of SO like this:

client:
   so = SharedObject.getRemote("my_so",nc.uri,false);
   so.onSync= function(list){
      trace(so.data["my_message"]);
   }
   so.connect(nc);

server:
   serverside_so.setAttribute("my_message","test
message from server");

Hope it helps,
Bogu

PS. I am not an expert in Flash, and might be an
easier way to solve this in Red5..


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the Red5 mailing list