Support NATA 2014

Browse Sections


Newgrounds Wiki: newSaveFile

Usage

import com.newgrounds.API;
import com.newgrounds.SaveGroup;
import com.newgrounds.SaveFile;

var file:SaveFile = API.newSaveFile(group_name:String);
  • group_name - The name of the save group the file will be saved under.

This command creates a new file in the requested SaveGroup and returns the new SaveFile instance. Note: This feature is still in BETA, support is limited.