I have made flash game and I want to show a leader board in that game. I have uploaded my game to kongregate.com.
I have made a scoreboard there with the name of overLoadScore (overload is the name of my game). i dragged an instance of API Loader component.
in my Main.as file I have the code.
var scoreBoard:ScoreBoard = new SoreBoard(); scoreBrowser.scoreBoardName = "overLoadScore"; scoreBrowser.loadScores(); scoreBoard.period = ScoreBoard.ALL_TIME;
i am getting the error call to a possibly undefined method ALL_TIME with reference to static type class ScoreBoard.
although i have provided correct API ID and encryption key.But in the output window i am getting the message. [Newgrounds API] :: No API ID entered in the API Connector component.
and i have created the scoreBoard which i mentioned earlier but what is this
[Newgrounds API] :: No scoreboards created for this movie.