Be a Supporter!

Browse Sections


Newgrounds Wiki: loadLocal

Usage

import com.newgrounds.API;
var var_value:* = API.loadLocal(var_name:String);
  • var_name - The name of the variable to load

This method lets you load a variable to an encrypted SharedObject. These values are very hard to hack making this an ideal place to store information that may be linked to user accounts such as high scores.

To save an encrypted value, use the saveLocal command