Forum ActionScript 3.0 PlayerIO crash then use authenticate

Problems and discussions relating to ActionScript 3.0 here.

PlayerIO crash then use authenticate

Postby andreus095 » June 8th, 2015, 3:42 pm

I try create game on Yahoo Games Network.
I create new chanel named ''yahoo" with authentication "Yahoo Games Network"
Image

In yahoo chanel a select "Canvas connection" to "yahoo"
Image

Then i try use authenticate with chanel name 'yahoo':

PlayerIO.authenticate(stage, appID, connectionID('yahoo'), {userToken:userToken}, null, responceConnect, responceConnectError);

PlayerIO is down with error
ArgumentError: Error #1063: Argument count mismatch on Function/<anonymous>(). Expected 9, got 12.
at Function/<anonymous>()[C:\builddir\Client Libraries\ActionScript 3\PlayerIOClient\src\playerio\generated\PlayerIO.as:35]
at Function/<anonymous>()[C:\builddir\Client Libraries\ActionScript 3\PlayerIOClient\src\playerio\utils\HTTPChannel.as:54]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/onComplete()

this error appears asynchronly, i think after server call

If i use 'public' name
PlayerIO.authenticate(stage, appID, connectionID('public'), {userToken:userToken}, null, responceConnect, responceConnectError);

responceConnectError get error 5, i dont know that this mean
andreus095
 
Posts: 1
Joined: June 8th, 2015, 1:05 pm

Re: PlayerIO crash then use authenticate

Postby datcroft » June 11th, 2015, 7:55 am

Library updated and error disappeared
datcroft
 
Posts: 2
Joined: March 28th, 2015, 7:16 am


Return to ActionScript 3.0



cron