onLogin() AS1 - Error in docs
Posted: 03 Mar 2006, 16:02
Hello,
in the AS1 docs for onLogin(), it says that arguments are:
smartFox.onLogin(success, name, errorMsg);
They didnt work to me, instead, laving only one argument:
If I loop in the result object:
I have this output:
So I presume insted of 3 arguments, there is only one with the 3 properties: success, name, and error.
namaste
Filippo
in the AS1 docs for onLogin(), it says that arguments are:
smartFox.onLogin(success, name, errorMsg);
They didnt work to me, instead, laving only one argument:
Code: Select all
smartFox.onLogin(result);Code: Select all
for (var i in result) trace("result." + i + " = " + result[i]);Code: Select all
result.success = true
result.name = guest_30
result.error = namaste
Filippo