debug

Availability:

Flash Player 6.0
SmartFoxServer Lite / Basic / Pro

Usage:

smartFox.debug

Description:

Toggles the client-side debugging informations. When turned on you will be able to inspect all server messages that are sent and received by the client
in the Flash authoring environment, allowing to better debug your application and the server side interaction.

Parameters:

none      

Returns:

Nothing.

Example:

var runningLocally = true

var ip
var port = 9399
var zone = "myZone"

if (runningLocally)
{
	smartFox.debug = true
	ip = "127.0.0.1"	
}
else
{
	smartFox.debug = false
	ip = "100.101.102.103"	
}
...
...

See also: