Hope this is the right forum to post this thread. I’m using the Sync Events changeList array. I want to loop through all members who are connected to the application. I understand this array has some values. I am targeting the “changed” value which indicates that another client has changed the shared object. What I want is to see whether a client is online. if the client status has “changed” to offline then a Sync event is generated and dispatched to other clients that are connected to the shared object and are informed that the client has disconnected. The process is fairly straightforward however, I am a novice to as3 and probably my code has some big errors in it, but I’ll show it here. Any help how to fix this? Thanks in advance function syncHandler(event:SyncEvent):void{
for (var i = 0; i <event.changeList.length; i++) {
info = changeList*;
switch(info.code){
case “success”;
break;
case “change”;
client_info = clients_so.data[info.name];
break;