1 Reply Latest reply on Jul 24, 2008 11:23 PM by anirudhs


      Here is my code:

      var dir:File = File.documentsDirectory.resolvePath("My Pictures").exists ? File.documentsDirectory.resolvePath("My Pictures") : File.documentsDirectory;
      dir.browseForDirectory("Add a folder");

      Instead of "Add a folder" the dialog inserts a random string on Vista. Works fine on XP. The string can be anything from a scrambled non-ascii character to a random file path.