onJoinRoom()

Availability:

Flash Player 7, 8
SmartFoxServer Lite / Basic / Pro

Usage:

smartFox.onJoinRoom(roomObj:Room)

Description:

The event is fired when a room has been successfully joined.

Parameters:

room   Returns the room object representing the room joined

Check the Room Class for more info on the objects returned.

Returns:

nothing

Example:

smartFox.onJoinRoom = function(roomObj:Room)
{
	trace("Successfully joined room: " + roomObj.getName())
}

See also:

onJoinRoomError()