onUserLeaveRoom()
Availability:
Flash Player 7, 8
SmartFoxServer Lite / Basic / Pro
Usage:
smartFox.onUserLeaveRoom(roomId:Number, userId:Number, userName:String)
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:Number, userId:Number, userName:String) { trace("So long, " + userName) }
See also: