onConnection()
Availability:
Flash Player 6.0
SmartFoxServer Lite / Basic / Pro
Usage:
smartFox.onConnection(status)
Description:
Handles the server response of a connection attempt using the connect() method.
Parameters:
| status | a boolean parameter. True if connection was successfull |
Returns:
nothing
Example:
smartFox.onConnection = function(status)
{
if (status)
trace("Ok! Connected.")
else
trace("Ouch! Could not connect")
}
See also:
onConnectionLost()