1 Reply Latest reply on Feb 12, 2010 6:17 AM by bchalupka-syPD9H

    Air: Two questions about directory handling

    bchalupka-syPD9H

      FileSystemTreeHi,

       

      I'm currently working on a file browser in Air 2.0.

      Is there a way to get the name of a drive (for example the name of the inserted cd or the name of the C: hard drive that you can enter manually)?

       

      And the second question is:

      How can I determine if a folder has another folder inside? (I want to show a directory tree and reading and checking the content of every folder takes too much time. The FileSystemTree class simply assumes that every folder is a branch, but that leads to empty folders that can be opened.)

       

      Thanks in advance.