It possible to serialize a custom object (with custom objects inside), save it to a text file, load the file and create objects?
class ModelLocator{ public var linksTypes:ArrayCollection= new ArrayCollection([ new LinkType("1","Cause"), new LinkType("2","Conséquence"), new LinkType("3","Autre") ]); public var autors:ArrayCollection=new ArrayCollection([ new Autor("Louise","Robitaille") ]); } ----------------------------- I want... var obj:ModelLocator = new ModelLocator();//create object serialize(obj,"filename.dat");//serialize and save all object in var obj2:ModelLocator = unserialize("filename.dat");//reload object