I'm trying to setup the most basic quickConnect registration for SimpleUsers.
I get this error:
Error: There was an error with the registration fields, see the specific errors for details.
at <anonymous>()
at <anonymous>()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/onComplete()
when i'm trying to use the method simpleRegister()
here's the code:
- Code: Select all
public function registerNewUser():void{
trace("Registring new User");
PlayerIO.quickConnect.simpleRegister(
stage,
gameID,
username,
pw,
email,
null, // captcha value, if captcha is used
null, // any additional data you want
function(client:Client):void{
trace("Registered", client);
connectToServer();
},
handleError
);