Hi,
When we test property debug = true in ConfigData class for function connectWithConfig(), we don't see client-server messages debug.
private function myConnect():void{
var cfg:ConfigData = new ConfigData();
cfg.host = "127.0.0.1";
cfg.httpPort = 8080;
cfg.port = 9933;
cfg.zone = "testZone";
cfg.debug = true;
connectWithConfig(cfg);
}
If we load sfs-config.xml with line "<debug>true</debug>" it works fine (we see slient-server messages debug)
Thanks
property debug in ConfigData class not set TRUE
Re: property debug in ConfigData class not set TRUE
Thank you for reporting. This will be fixed in the next API release. In the meanwhile you should set the debug property to true manually.
Paolo Bax
The SmartFoxServer Team
The SmartFoxServer Team
Re: property debug in ConfigData class not set TRUE
Bax wrote:In the meanwhile you should set the debug property to true manually.
Please tell us how to set debug property to true manually
Thanks.
Re: property debug in ConfigData class not set TRUE
Pass "true" to the SmartFox class constructor.
Paolo Bax
The SmartFoxServer Team
The SmartFoxServer Team
Return to “SFS2X ActionScript 3 API”
Who is online
Users browsing this forum: No registered users and 6 guests