# Using rso's

**URL:** https://forum.kirupa.com/t/using-rsos/331325
**Category:** Uncategorized
**Created:** [July 8, 2013, 1:40pm UTC](https://forum.kirupa.com/t/using-rsos/331325 "2013-07-08T13:40:52Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![quest20](https://avatars.discourse-cdn.com/v4/letter/q/a87d85/32.png) [@quest20](https://forum.kirupa.com/u/quest20)
#### Post date: [July 8, 2013, 1:40pm UTC](https://forum.kirupa.com/t/using-rsos/331325/1 "2013-07-08T13:40:52Z")

</div>

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;
