- Package: com.newgrounds.components
- Class: ScoreBrowser
The ScoreBrowser component displays high scores to the user.
Methods
These are the methods of ScoreBrowser.
loadScores
public function loadScores():void
Loads a list of scores and displays them in the score browser.
Properties
These are the properties of ScoreBrowser
period
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
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
public var title:String = "High Scores";
The title text displayed at the top of the score browser.