am using facebook quick connect and here is my code
- Code: Select all
public var token = root.loaderInfo.parameters.access_token || "my_accesshere"
and
- Code: Select all
PlayerIO.quickConnect.facebookOAuthConnect(stage,gameID,token,"",handleConnect,handleError)
by the way the gameID is string so
- Code: Select all
var gameID:String = "game_id_here"
But the error is
- Code: Select all
ArgumentError: Error #1063: Non-correspondance du nombre d'arguments sur MyGame/handleConnect(). 1 prévu(s), 2 détecté(s).
at Function/<anonymous>()
at Function/<anonymous>()
at Function/<anonymous>()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/onComplete()