A user joins a room as a Spectator.
In that room he runs a
Code: Select all
sfs.switchSpectator();but if the same user now tries to run a
Code: Select all
var thisRoom:Room = sfs.getActiveRoom();
trace("Active room: " + thisRoom.getName());
playerDP.removeAll();
myParent.PlayersDictionary = new Dictionary();
var users:Array = thisRoom.getUserList();
for (var u:String in users){
if(!users[u].isSpectator()){
...
but if another user joins the same room, and tries to run... getUSerlist etc... it will look to him as if the first user is a non spectator user...
the same goes for player ID, if a user looks at his own player id it wont change even though he has done a spectator swith, but for other users it will look as he got an ID...
regards
Petter
