10 Replies Latest reply: Sep 6, 2011 3:48 AM by Derils RSS

    SecurityError: fileWriteResource

    Damon Edwards Community Member
      Hello all, I'm having a little difficulty reading, then writing to a XML file in the applicationDirectory. I can read from it fine, parse the results, close the stream. However, when it comes time to write to the file, I get this error thrown:

      SecurityError: fileWriteResource
      at runtime::SecurityManager$/checkPrivilegeForCaller()
      at flash.filestream::FileStream/open()
      ... (the rest is my stuff)