Revision: 12499
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at March 17, 2009 13:33 by allnatural
Initial Code
import flash.net.SharedObject; var so:SharedObject = SharedObject.getLocal("userData"); so.data.username= "user1377"; so.data.uid= new Number(1337); // create object to store data var obj:Object = new Object(); obj.prop = "value"; so.data.userobj= obj; // store custom object in SharedObject so.flush(); // writes changes to disk
Initial URL
Initial Description
This is just a basic SharedObject snip, access/store data locally.
Initial Title
Basic Local SharedObject
Initial Tags
Initial Language
ActionScript 3