I am trying to save an array of CustomClass objects to a SharedObject like so:
object_list = new Array();
//add elements of type CustomClass to object_list
registerClassAlias(“CustomClassAlias”, CustomClass);
var data_on_disk:SharedObject = SharedObject.getLocal( “data” );
data_on_disk.data.object_list=object_list;
data_on_disk.flush();
But when I try to access data after closing the swf and reopening it, it seems to be an array with empty elements?
the size of array will equal to what it should be, but all the elements are null
Anybody know what I am doing wrong?