# List the contents of a directory

**URL:** <https://forum.kirupa.com/t/list-the-contents-of-a-directory/304992>\
**Category:** flash\
**Created:** [February 17, 2010, 6:10pm UTC](https://forum.kirupa.com/t/list-the-contents-of-a-directory/304992 "2010-02-17T18:10:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pillageTHENburn](https://avatars.discourse-cdn.com/v4/letter/p/9fc29f/32.png) [@pillageTHENburn](https://forum.kirupa.com/u/pillageTHENburn)\
**Post date:** [February 17, 2010, 6:10pm UTC](https://forum.kirupa.com/t/list-the-contents-of-a-directory/304992/1 "2010-02-17T18:10:15Z")

</div>

I have looked far and wide for an answer to this; I fear the solution is simple and I’ve probably been looking in the wrong places (or for the wrong thing).

I am using Flash CS3 with Actionscript 3 and outputting an AIR application. I need to be able to list the files in a directory on the users machine, these files will be PDFs and they will be installed along with the application.

The application installs just fine, the pdfs install just fine - how in the world can I make a list show up in my app that has all the pdfs? Oh and they need to be “clickable” so you can open a chosen file.

I’m pretty new to all of this so a noob response will probably be more helpful than an over-my-head response.

Thank you in advance!
