6 Replies Latest reply on Jun 18, 2008 1:28 PM by Oliver Goldman

    at runtime::SecurityManager$/checkPrivilegeForCaller()

    Amdasus
      function createImageDirectory ():void
      {
      var dir:File = File.applicationDirectory.resolvePath("Game Images");
      dir.createDirectory();
      }


      So Adobe is telling me that I am not "allowed" to perform the above function? The most logical place for a player of my AIR game to store their game images would be in a "Game Images" folder located within the application directory.

      If it's true that you're "not allowed" to create a simple directory within the "applicationDirectory", then SHAME ON ADOBE!!