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

    SecurityError: fileWriteResource

    Damon Edwards Level 3
      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)