First of all there were a few display problems with the original file which I had to fix.
Now I wanted to add a "Back to lobby" button. I have built the button and set everything up and put it under the chat and everything. The only problem is that when I get out of a game my username stays inside the chat and the game thinks that I am still in the game. I tried using the function removeUser() in Chat.as to no avail.
I wouldn't mind giving someone the source if they want to look at it. But I just need to know how to:
1. get the id of the user
2. send that id into removeUser() so that it removes the User from the chat and thus from the game.
BTW I love this site =D
Also another problem:
While testing out my Lobby button I managed to get a room with 0 users in it... There is one user in it but he is something of a ghost as in he doesn't have anyone controlling him. Is there anyway to delete rooms? Maybe check if a room has 0 people and delete it?