I've searched forum and couldn't find the exact answer, this is why I'm posting it here.
I'm trying to get uservars of other user in the room, outside of uservar_update event. For example, when user enter room event triggered, I'm trying to get entered user's vars as below;
Code: Select all
private function onUserEnterRoom(evt:SFSEvent):void
{
evt.params.user.getVariable.....
}
Or when I enter the room, I'm trying as below;
Code: Select all
for each(var usr in sfs.lastJoinedRoom.userList){
usr.getVariable.....
}
I dont't know what is wrong, at this point I'm thinking its not possible to get other users' variables, i hope not
Thanks in advance