However, I cannot appear to get the smartfox functions to work all the time. In fact they only worked sometimes. For example:
Code: Select all
import it.gotoandplay.smartfoxbits.events.*
import it.gotoandplay.smartfoxserver.*
import mx.utils.Delegate
stop()
var smartFox:SmartFoxClient = new SmartFoxClient();
function onlogout_btClick():Void
{
smartFox.onLogout = onLogoutHandler
smartFox.logout()
gotoAndStop("Connect")
}
function onLogoutHandler():Void
{
trace("Logged out successfully")
}Is there a conflict with using SFBits?
Any suggestions from anyone would be appreciated.
Regards
Paul.