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