# Get current directory?

**URL:** <https://forum.kirupa.com/t/get-current-directory/227661>\
**Category:** flash\
**Created:** [June 1, 2007, 1:31am UTC](https://forum.kirupa.com/t/get-current-directory/227661 "2007-06-01T01:31:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnlouis](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/johnlouis/32/568_2.png) [@johnlouis](https://forum.kirupa.com/u/johnlouis)\
**Post date:** [June 1, 2007, 1:31am UTC](https://forum.kirupa.com/t/get-current-directory/227661/1 "2007-06-01T01:31:32Z")

</div>

is it possible to get the current directory the swf is in?  
like if I have a movie in a folder called “folder01”, i would like to have some code in the movie that returns “folder01”… and if it’s in “anotherfolder”, it returns “anotherfolder”, and so on…

:hat:
