serialization - is there any way to automatically execute registerClassAlias on Actionscript/Air? -
i'm using registerclassalias save custom classes sharedobject it's giving me headache since every time make new class, have write registerclassalias sentence , there hundreds of custom classes save in project.
is there way lessen labor or have write registerclassalias manually each time make class want save?
you can lessen labor using array of classes, still has filled manually.
var classarray:array=[oneclass,twoclass]; // fill elsewhere each(var c:class in classarray) registerclassalias(getqualifiedclassname(c),c);
Comments
Post a Comment