leaveRoom()
Availability:
Flash Player 7, 8
SmartFoxServer Lite / Basic / Pro
Usage:
smartFox.leaveRoom(roomId:Number)
Description:
Disconnect the user from the specified room. This method should
be used only when you allow users to be present in more than
one room at the same time.
Parameters:
roomId | the id of the room you want to leave |
Returns:
nothing
Example:
smartFox.leaveRoom(6)
See also:
joinRoom()