# Loading Movieclips

**URL:** <https://forum.kirupa.com/t/loading-movieclips/56634>\
**Category:** flash\
**Created:** [July 6, 2004, 8:59am UTC](https://forum.kirupa.com/t/loading-movieclips/56634 "2004-07-06T08:59:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rruwodo](https://avatars.discourse-cdn.com/v4/letter/r/ebca7d/32.png) [@rruwodo](https://forum.kirupa.com/u/rruwodo)\
**Post date:** [July 6, 2004, 8:59am UTC](https://forum.kirupa.com/t/loading-movieclips/56634/1 "2004-07-06T08:59:03Z")

</div>

Hello

I am trying to load a movie clip A(track1.swf) into movieClip B(audioclip). Movieclip A is made up of a a media playback component playing an mp3 in it! Movie ClipA is sitting in the same folder with this file. I am calling Movie clip A using a circle button I took from the library using the following code -

on (release) {  
loadMovie(“track1.swf”,audioclip);  
}  
on (releaseOutside) {  
unloadMovie(audioclip);  
}

This works fine when testing the movie, but when I try to view it in html, movieclip A does not show. I thought I was targeting wrongly but I am convinced otherwise because the files reside in the same folder .  
Is there anything I am doing wrong.

Help!:pa:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 6, 2004, 11:21am UTC](https://forum.kirupa.com/t/loading-movieclips/56634/2 "2004-07-06T11:21:51Z")

</div>

You have to make the loading relative to to the HTML file. SO if the top directory contains your HTML file, and your flash is located in “/flash/movieClipA.swf” then you need to put "/flash/movieClipA.swf for the path to the load. It won’t work in the Flash debugger, but then try the HTML page and every thing will be ok…just a crazy quark of Flash.

-Ryan
