# What's the correct path?

**URL:** <https://forum.kirupa.com/t/whats-the-correct-path/200387>\
**Category:** flash\
**Created:** [September 11, 2006, 8:46pm UTC](https://forum.kirupa.com/t/whats-the-correct-path/200387 "2006-09-11T20:46:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dokratos](https://avatars.discourse-cdn.com/v4/letter/d/4da419/32.png) [@Dokratos](https://forum.kirupa.com/u/Dokratos)\
**Post date:** [September 11, 2006, 8:46pm UTC](https://forum.kirupa.com/t/whats-the-correct-path/200387/1 "2006-09-11T20:46:19Z")

</div>

Here’s the deal.  
I have a main swf into which other swf files are loaded. My problem is that I have the swf’s that are loaded in subdirectories. Whenever I test the main swf, things work just fine! But if I try to run things from a browser it will not load the swf’s located in the subdirectories.  
Can anyone help me?

Here’s a sample of the code:

[COLOR=Blue]PUBLICITY01\_BT.onRelease = function(){  
\_root.Contents.unloadMovie(“Publicity.swf”);  
\_root.Contents.loadMovie("/Pub/Pub\_01.swf");  
}[/COLOR]
