# Retrieve a file name from the specific folder

**URL:** <https://forum.kirupa.com/t/retrieve-a-file-name-from-the-specific-folder/31571>\
**Category:** flash\
**Created:** [September 24, 2003, 2:01pm UTC](https://forum.kirupa.com/t/retrieve-a-file-name-from-the-specific-folder/31571 "2003-09-24T14:01:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![KazchiX](https://avatars.discourse-cdn.com/v4/letter/k/3e96dc/32.png) [@KazchiX](https://forum.kirupa.com/u/KazchiX)\
**Post date:** [September 24, 2003, 2:01pm UTC](https://forum.kirupa.com/t/retrieve-a-file-name-from-the-specific-folder/31571/1 "2003-09-24T14:01:35Z")

</div>

Hi all,

I’m working on a photo gallery type of thing. Is there a way to retrieve file name within some folder and open it on flash by AS? What I want to do is just to specify the folder name which holds a lot of pictures and open a picture within that folder one by one. Flash is not aware of the contents of the folder but a folder name and will find out dynamically.  
Thank you,

-KazchiX
