# loadMovie and urls and paths

**URL:** https://forum.kirupa.com/t/loadmovie-and-urls-and-paths/38073
**Category:** flash
**Created:** [December 18, 2003, 12:23am UTC](https://forum.kirupa.com/t/loadmovie-and-urls-and-paths/38073 "2003-12-18T00:23:14Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![DryCow](https://avatars.discourse-cdn.com/v4/letter/d/b9e5f3/32.png) [@DryCow](https://forum.kirupa.com/u/DryCow)
#### Post date: [December 18, 2003, 12:23am UTC](https://forum.kirupa.com/t/loadmovie-and-urls-and-paths/38073/1 "2003-12-18T00:23:14Z")

</div>

Hello.

I’m having a problem with the loadMovie command.

I have a MC on the main stage named `blank’.  
I have a button with the following code:

[AS]on (release) {  
\_root.blank.loadMovie(“HERE IS MY PROBLEM”,1);  
}[/AS]

So I want a SWF named TEST.SWF to be loaded into the movie clip `blank’. My main SWF resides in the main home directory on a site, and the TEST.SWF is in a subfolder named /PAGES

for example:  
Main SWF is at [www.mymovie.com/MAIN.SWF](http://www.mymovie.com/MAIN.SWF)  
TEST.SWF is at [www.mymovie.com/PAGES/TEST.SWF](http://www.mymovie.com/PAGES/TEST.SWF)

I don’t know the entire url, and will never know the entire url [not purchased yet]… so how do I tell flash to look in the subdir named PAGES to find the TEST.SWF?

Thanks!
