Our goal is for Newgrounds to be ad free for everyone! Become a Supporter today and help make this dream a reality!

Browse Sections

Newgrounds Wiki: FILE_LOADED

This event is fired when loadContents() is called by a SaveFile instance.


This event will be an instance of APIEvent, and contain the following values:
  • type:String - APIEvent.FILE_LOADED
  • success:Boolean - True if the file was initialized.
  • data:Object - Containing the following properties:

    • file:SaveFile - The SaveFile Instance that was loaded