onRoomAdded()
Availability:
Flash Player 7, 8
SmartFoxServer Lite / Basic / Pro
Usage:
smartFox.onRoomAdded(roomObj:Room)
Description:
The event is fired when a new room was created in the current zone.
Check the Room Class for more info on the objects returned.
Parameters:
roomObj | the room object of the new room |
Returns:
nothing
Example:
smartFox.onRoomAdded = function(roomObj:Room) { trace("A new room was created: " + roomObj.getName()) }
See also:
onRoomDeleted()