onUserLeaveRoom()
Availability:
Flash Player 6.0
SmartFoxServer Lite / Basic / Pro
Usage:
smartFox.onUserLeaveRoom(roomId, userId, userName)
Description:
The event is fired when a user leaves the current room.
Parameters:
roomId | the id of the room where the event was fired | |
userId | the id of the user that left the room | |
userName | the name of the that user left the room |
Returns:
nothing
Example:
smartFox.onUserLeaveRoom = function(roomId, userId, userName) { trace("So long, " + userName) }
See also: