The following example shows how you can browse for a directory on the user’s computer in Adobe AIR by calling the browseForDirectory() method on a File object.

Full code after the jump.




Tagged with:

5 Responses to Browsing for directories on a user’s computer using Adobe AIR

  1. Mitesh says:

    Hii,i want that whenever i do browseforOpen……whenever i get the dialog box for selecting files
    ,The label text field in name should get empty… help

  2. Mitesh says:

    hii i want that the browse for directory box……should not give the browse for folder as title …ne idea

  3. Swapnil Shirke says:

    Nice work Peter,
    This was of very help to me…

  4. Andrea says:

    Hi Peter,
    thank you for your posts!
    I have a question: what if I want the dialog box to already be in a specific folder when opened?

    Hope you can help me.
    Andrea =)

  5. Anonymous says:

    how do i do this in adobe air javascript?

Leave a Reply

Your email address will not be published.