Be a Supporter!

Browse Sections


Newgrounds Wiki: ScoreBrowser

  • Package: com.newgrounds.components
  • Class: ScoreBrowser
The ScoreBrowser component displays high scores to the user.

Methods

These are the methods of ScoreBrowser.

loadScores

Return to Top ^
public function loadScores():void
Loads a list of scores and displays them in the score browser.

Properties

These are the properties of ScoreBrowser

period

Return to Top ^
public var period:String = ScoreBoard.ALL_TIME;
The time period for scores that will be displayed. This period will be used for the next call to loadScores.

scoreBoardName

Return to Top ^
public var scoreBoardName:String;
The name of the scoreboard that will be displayed. If no name is specified, the score browser will default to the first scoreboard available for this game. This scoreboard will be used for the next call to loadScores.

title

Return to Top ^
public var title:String = "High Scores";
The title text displayed at the top of the score browser.