getBuddyRoom()

Availability:

Flash Player 7, 8
SmartFoxServer Basic / Pro

Usage:

smartFox.getBuddyRoom(buddy:Object)

Description:

Ask the server in which room(s) is currently located the buddy passed in the parameter.

Parameters:

buddy   the buddy object

NOTE: A buddy is obtained by extracting it from the smartFox.buddyList array

Fires the onBuddyRoom event

Returns:

Nothing.

Example:

smartFox.getBuddyRoom(buddy)

See also: