problem was i was trying to access a user object from params in the SFSEvent object
turns out the params back from a onUserLeaveRoom event are different than that of onUserEnterRoom
since i was accessing an undefined variable before populating my list it stopped the code from running.
Why are there so many different params for events?
like:
shouldn't you just pass a room object and a user object?[/quote]onUserCountChange
Dispatched when the user/spectator count of a room changed.
The params object contains the following parameters.
* room:Room - the Room object representing the room where the change occurred.
onUserEnterRoom
Dispatched when a user joins the current room.
The params object contains the following parameters.
* roomId:int - the id of the room joined by a user.
* user:User - the User object representing the user that joined the room.
onUserLeaveRoom
Dispatched when a user leaves the current room.
The params object contains the following parameters.
* roomId:int - the id of the room left by the user.
* userId:int - the id of the user that left the room (or got disconnected).
* userName:String - the name of the user.