Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
S
 sendModeratorMessage, SmartFoxClient
 sendObject, SmartFoxClient
 sendObjectToGroup, SmartFoxClient
 sendPrivateMessage, SmartFoxClient
 sendPublicMessage, SmartFoxClient
 sendXtMessage, SmartFoxClient
 setBuddyVariables, SmartFoxClient
 setRoomVariables, SmartFoxClient
 setUserVariables, SmartFoxClient
 SFSEvent
 SmartFoxClient
 switchSpectator, SmartFoxClient
T
 toString, SFSEvent
U
 uploadFile, SmartFoxClient
 User
V
 Variables
public function sendModeratorMessage(message: String,  
type: String,  
id: int = -1):void
Send a moderator message to an entire Zone, a Room or a single User.
public function sendObject(obj: Object,  
roomId: int = -1):void
Send an Actionscript object to the other users in the room.
public function sendObjectToGroup(obj: Object,  
userList: Array,  
roomId: int = -1):void
Send an Actionscript object to a group of users in the room.
public function sendPrivateMessage(message: String,  
recipientId: int,  
roomId: int = -1):void
Send a private message to a user.
public function sendPublicMessage(message: String,  
roomId: int = -1):void
Send a public message.
public function sendXtMessage(xtName: String,  
cmd: String,  
paramObj: *,  
type: String = "xml",
roomId: int = -1):void
Send a request to a server side extension.
public function setBuddyVariables(varList: Array):void
Set one or more Buddy Variables.
public function setRoomVariables(varList: Array,  
roomId: int = -1,
setOwnership: Boolean = true):void
Set on or more Room Variables.
public function setUserVariables(varObj: Object,  
roomId: int = -1):void
Set on or more User Variables.
Each event dispatched by the SmartFoxClient class is a SFSEvent object (it.gotoandplay.smartfoxserver.SFSEvent) which extends the flash.events.Event class.
public function SFSEvent(type: String,
params: Object)
The default contructor.
This is the class responsible for connecting to the server and handling all related events.
public function SmartFoxClient(debug: Boolean = false)
The default contructor.
public function switchSpectator(roomId: int = -1):void
Turn a spectator inside a game room into a player.
function toString():String
Return a String containing all the properties of the current instance.
public function uploadFile(fileRef: FileReference,  
id: int = -1,
nick: String = "",
port: int = -1):void
Upload a file to the embedded webserver.
The User class is used internally by the SmartFoxClient object to store the properties of each user.
public function User(id: int,
name: String)
The default contructor.