actionscript 2 - sharedObject does not save my data. -
static private function ifonenternameframe():void { so.data.name = _root.getname.text; //trace(so.data.name); _root.namebtn.onpress = function () { _root.gotoandstop(2); } } when start application code save name.
but when go function says it's undefined.
trace(so.data.name); i traced when on next frame , couldn't find previous name. please help.
flushing shared object data necessary variables.
use flush function of shared object.
Comments
Post a Comment