onJoinRoomError()

Availability:

Flash Player 7, 8
SmartFoxServer Lite / Basic / Pro

Usage:

smartFox.onJoinRoomError(errorMsg:String)

Description:

The event is fired when a joinRoom() request fails. For example because the room you wanted to join is full.

Parameters:

errorMsg   The server error message

Returns:

nothing

Example:

smartFox.onJoinRoomError = function(errorMsg:String)
{
	trace("Could not join room: " + errorMsg)
}

See also:

onJoinRoom()