Be a Supporter!

Browse Sections

Newgrounds Wiki: SaveBrowser

  • Package: com.newgrounds.components
  • Class: SaveBrowser
The SaveBrowser component displays save files to the user, and allows them to select a file to load.


These are the methods of SaveBrowser.


Return to Top ^
public function loadFiles():void
Loads a list of files and displays them in the save browser.


These are the properties of SaveBrowser


Return to Top ^
public var customSortField:String;
Allows you to sort on a custom key or rating in your save group. For example, setting customSortField to "Game Type" will sort the files based on their Game Type key.


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


Return to Top ^
public var sortDescending:Boolean;
Sets the sorting order of the files.


Return to Top ^
public var sortField:String;
Determines the field that the files will be sorted on.


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