Confusing Problem :/
Posted: 17 Jan 2008, 16:40
I am using SFS 1.6 with Bits 1.1. I have imported and installed the AS2 libs.
However, I cannot appear to get the smartfox functions to work all the time. In fact they only worked sometimes. For example:
Nothing is traced and the logout has not executed because I cannot log on again. Yes, it is a multiframe application and I know this causes issues, but I am really confused with this.
Is there a conflict with using SFBits?
Any suggestions from anyone would be appreciated.
Regards
Paul.
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.