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";
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.

  • 3
    \$\begingroup\$ This question appears to be off-topic because it is about writing code for you. \$\endgroup\$
    – bummzack
    Commented Jun 21, 2014 at 12:58
  • \$\begingroup\$ If you simply want example code, well there's already example code in kongregate's documentation. A question that would be on-topic is if you actually tried to implement their code and encountered a specific problem. \$\endgroup\$
    – jhocking
    Commented Jun 21, 2014 at 14:40
  • \$\begingroup\$ @jhocking i have edited the question please can u help \$\endgroup\$ Commented Jun 21, 2014 at 15:04
  • \$\begingroup\$ Wait, at first you mention Kongregate, then you say Newgrounds. What platform are you targeting now? What does their documentation say? \$\endgroup\$
    – Anko
    Commented Jun 22, 2014 at 7:58
  • \$\begingroup\$ @Anko sorry my mistake it is Newgrounds. i am targetting newgrounds and i am following their doccumentation but cant get the result \$\endgroup\$ Commented Jun 22, 2014 at 8:18

1 Answer 1


change the line 1 with

var scoreBrowser:ScoreBrowser = new ScoreBrowser();

actually i mingled scoreBrowser and scoreBoard.


Not the answer you're looking for? Browse other questions tagged .