I hope this correct forum to post this question. In ActionScript 3 am using a remote shared object for the first time in my application. Basically, my aim is to store a list of all users who are connected. Whenever, a user disconnects the object is updated to all clients connected. In the code below I am trying to sync users in a array that describes the changes of the clients. However, the sample nothing is triggered, no sync, no events, no exceptions, no nothing. I am somewhat confused how to do this:headbang: Any help will be greatly appreciated!
var so:SharedObject = SharedObject.getRemote("myUserList", nc.uri, false);
so.connect(nc);
so.addEventListener(SyncEvent.SYNC, onSyncHandler);
function onSyncHandler(event:SyncEvent):void{
var object:Object = new Object();
for(var i = 0; i <changeList.length; i++){
info = changeList[i];
case "Success":
break;
case "Clear":
break;
case "Change":
break;
}
}