1 Reply Latest reply on Jun 17, 2011 7:36 AM by kglad

    saving text?

    McbainGames11 Level 2

      I want to know how to save text with shared object and i dont know why my code is wrong? please help

       

       

      var so:SharedObject=SharedObject.getLocal("yourso");

       

      so.data.inputtext=yourinputTF.text;
      so.flush();

       


      if(!so.data.inputtext){

       

      yourinputTF.text=so.data.inputtext;

       

      }