removeBuddy()

Availability:

Flash Player 7, 8
SmartFoxServer Basic / Pro

Usage:

smartFox.removeBuddy(buddyName:String)

Description:

Removes a buddy from the buddy list.

Parameters:

buddyName   a string containing the name of the buddy to remove

Returns:

Fires the onBuddyList() event

Example:

var buddyName:String = "Lapo"
smartFox.removeBuddy(buddyName)

See also:

buddyList, onBuddyList(), addBuddy(), loadBuddyList()