0 Replies Latest reply on Jan 5, 2011 8:26 PM by Groovee60

    Best way to access "My Music" directory?




      I need the path to the system "My Music" directory. The following code works fine, but I assume it will work much less so in a localized version of the application. Note that this is Windows-specific but I have the same problem with the "Music" folder on the Mac.


      var path:String = File.documentsDirectory.nativePath;

      path += "/My Music/";


      I don't see a way to abstract the usage of this or other special directories beneath the user documents directory. Are there any special tricks out there?