# Loading a movie clip inside of a movie clip?

**URL:** <https://forum.kirupa.com/t/loading-a-movie-clip-inside-of-a-movie-clip/45520>\
**Category:** flash\
**Created:** [March 15, 2004, 3:07pm UTC](https://forum.kirupa.com/t/loading-a-movie-clip-inside-of-a-movie-clip/45520 "2004-03-15T15:07:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tattered](https://avatars.discourse-cdn.com/v4/letter/t/b9e5f3/32.png) [@Tattered](https://forum.kirupa.com/u/Tattered)\
**Post date:** [March 15, 2004, 3:07pm UTC](https://forum.kirupa.com/t/loading-a-movie-clip-inside-of-a-movie-clip/45520/1 "2004-03-15T15:07:23Z")

</div>

I have a movie clip on my stage, and when you click a button I want to load a movie clip inside of that one from my libary. I know this is a stupid question, but right now mind mind is boggled.

---

<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:** [March 15, 2004, 3:48pm UTC](https://forum.kirupa.com/t/loading-a-movie-clip-inside-of-a-movie-clip/45520/2 "2004-03-15T15:48:19Z")

</div>

you need to use the attachMovieClip command. I can’t remember what the syntax is off the top of my head, but it’s basically

attachMovieClip(’\<name of clip\>’, \<new name for clip\>, \<depth to attach clip\>);
