# Simple question..Loading an external swf located in a sub folder

**URL:** <https://forum.kirupa.com/t/simple-question-loading-an-external-swf-located-in-a-sub-folder/189634>\
**Category:** Uncategorized\
**Created:** [June 4, 2006, 9:23pm UTC](https://forum.kirupa.com/t/simple-question-loading-an-external-swf-located-in-a-sub-folder/189634 "2006-06-04T21:23:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![insultcomidog](https://avatars.discourse-cdn.com/v4/letter/i/ac91a4/32.png) [@insultcomidog](https://forum.kirupa.com/u/insultcomidog)\
**Post date:** [June 4, 2006, 9:23pm UTC](https://forum.kirupa.com/t/simple-question-loading-an-external-swf-located-in-a-sub-folder/189634/1 "2006-06-04T21:23:53Z")

</div>

Up till now I’ve had all my swfs in the same folder, but as my site expands it is getting messy so I’d like to start making sub-folders…

How do you load an external swf in to a main swf, that is locating in a sub directory.

I’ve tried this as command for loading an swf located in a folder called “fig”:

container.loadMovie(“fig/pics.swf”);

but I keep coming up with errors. I think the answer is some simple dos pathway…but I’m stuck.

One caveat…I would like my main swf to function locally, or I would have just targeted the external swf to a online…OR is this the only way to do it?

Thanks in advance.
