# Flash Runtime Search Path

**URL:** <https://forum.kirupa.com/t/flash-runtime-search-path/327602>\
**Category:** flash\
**Created:** [March 13, 2012, 6:30pm UTC](https://forum.kirupa.com/t/flash-runtime-search-path/327602 "2012-03-13T18:30:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![riveroaks](https://avatars.discourse-cdn.com/v4/letter/r/90db22/32.png) [@riveroaks](https://forum.kirupa.com/u/riveroaks)\
**Post date:** [March 13, 2012, 6:30pm UTC](https://forum.kirupa.com/t/flash-runtime-search-path/327602/1 "2012-03-13T18:30:27Z")

</div>

Is there a way to add paths to the Flash runtime search path for loading files? Say I want to load myXML.xml and its down in /myDir1/myDir2/myXML.xml. Is there any way I can add “/myDir1/myDir2” to the search path so I can just load using the string “myXML.xml” INSTEAD of loading by the full path “/myDir1/myDir2/myXML.xml”?

My directory structure will be changing on a semi-regular basis so I can’t hard-code the direct path to the file.
