00:00
00:00
Newgrounds Background Image Theme

DoctorSpectre just joined the crew!

We need you on the team, too.

Support Newgrounds and get tons of perks for just $2.99!

Create a Free Account and then..

Become 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.