0 Replies Latest reply on Aug 19, 2010 12:14 PM by tronix33

    HTML save txt file

    tronix33

      Hi,

       

      I have just a quick question, how is the easiest way to make my application able to write a simple txt file in the air.EncryptedLocalStore?

      I'm using HTML/JS/jQuery, as I discovered there seems to be a sandbox error (TypeError: undefined value) when using air.EncryptedLocalStore.setItem(), I've found some examples using iFrames etc, but actually the only thing I want to achieve is to retrieve the text from a simple textinput-field and store it in to the .txt file, so no call to external sites or what so ever... Is there an easy way to do this?

      Basically I want to simulate the use of a browser cookie, but since cookies aren't working in the AIR desktop version of my html-app...

       

      Thanks in advance!