Be a Supporter!

Browse Sections


Newgrounds Wiki: newSaveQuery

Usage

import com.newgrounds.API;
import com.newgrounds.SaveGroup;
import com.newgrounds.SaveGroupQuery;

var file:SaveFile = API.newSaveQuery(group_name:String);
  • group_name - The name of the save group you want to search in.

This command creates a new SaveGroupQuery instance for the requested SaveGroup.

The SaveGroupQuery class is used to define custom search parameters for loading lists of SaveFiles.

Executing a SaveGroupQuery will trigger a QUERY_COMPLETE event. Note: This feature is still in BETA, support is limited.