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

Popular posts from this blog

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

objective c - Greedy NSProgressIndicator Allocation -

how to set an OCR language in Google Drive -