[so in the first minute of coding from the docs, it breaks
Example:
The following example shows how to instantiate the SmartFoxClient class enabling the debug messages.
var smartFox:SmartFoxServer = new SmartFoxServer(true)
Code: Select all
sfs.addEventListener(SFSEvent.onConnection, handleConnection)