Forum QuickConnect Implicit coercion...

Discussion and help relating to PlayerIO's QuickConnect feature, including Facebook Connect and Kongregate Connect.

Implicit coercion...

Postby samsonadze » September 10th, 2012, 12:59 pm

Hello, Im connecting my Game to quickconnect and i got error on this -


PlayerIO.quickConnect.simpleRegister(stage, 'fly-and-smash-clvd15wkew5mmggphfew', user, pass, null,null,function (client:Client):void{
//...

}, function(e:PlayerIORegistrationError):void{
trace("Error: ", e)
}
);

It shows - 1067: Implicit coercion of a value of type Function to an unrelated type String.
Any fix?
C#
samsonadze
 
Posts: 122
Joined: August 29th, 2012, 2:39 pm

Re: Implicit coercion...

Postby Benjaminsen » September 10th, 2012, 2:34 pm

samsonadze wrote:Hello, Im connecting my Game to quickconnect and i got error on this -


PlayerIO.quickConnect.simpleRegister(stage, 'fly-and-smash-clvd15wkew5mmggphfew', user, pass, null,null,function (client:Client):void{
//...

}, function(e:PlayerIORegistrationError):void{
trace("Error: ", e)
}
);

It shows - 1067: Implicit coercion of a value of type Function to an unrelated type String.
Any fix?


Your passing in a wrong argument set. IE your missing values for: captchaValue, extraData and partnerId, see the quickconnect documentation here: http://playerio.com/documentation/refer ... leRegister
Benjaminsen
.IO
 
Posts: 1444
Joined: January 12th, 2010, 11:54 am
Location: Denmark


Return to QuickConnect



cron