# Load ALL SWF's in the same directory

**URL:** <https://forum.kirupa.com/t/load-all-swfs-in-the-same-directory/246757>\
**Category:** Uncategorized\
**Created:** [December 14, 2007, 5:26am UTC](https://forum.kirupa.com/t/load-all-swfs-in-the-same-directory/246757 "2007-12-14T05:26:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![absolutezero342](https://avatars.discourse-cdn.com/v4/letter/a/22d042/32.png) [@absolutezero342](https://forum.kirupa.com/u/absolutezero342)\
**Post date:** [December 14, 2007, 5:26am UTC](https://forum.kirupa.com/t/load-all-swfs-in-the-same-directory/246757/1 "2007-12-14T05:26:41Z")

</div>

Is there a way to load ALL the swf’s you have in ONE directory without knowing their names prior? so essentially, I want to do this:

```auto
loader.load("dir/*.swf");

```

if that makes sense to you!  
Again, I want to load ALL SWF’s in the same directory w/o knowing what will be there at runtime
