when i use this code it gives me this error: 1067: Implicit coercion of a value of type Function to an unrelated type String.
PlayerIO.quickConnect.simpleRegister(
stage,
'<your game id goes here>',
username,
password,
email,
null, // captcha key, if captcha is used
null, // captcha value, if captcha is used
{gender:'male',age:99}, // any additional data you want
function(client:Client):void{
//...
}, function(e:PlayerIORegistrationError):void{
trace("Error: ", e)
}
);