# Loading internal movie clip?

**URL:** <https://forum.kirupa.com/t/loading-internal-movie-clip/6391>\
**Category:** flash\
**Created:** [October 6, 2002, 7:03am UTC](https://forum.kirupa.com/t/loading-internal-movie-clip/6391 "2002-10-06T07:03:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![byis](https://avatars.discourse-cdn.com/v4/letter/b/5e9695/32.png) [@byis](https://forum.kirupa.com/u/byis)\
**Post date:** [October 6, 2002, 7:03am UTC](https://forum.kirupa.com/t/loading-internal-movie-clip/6391/1 "2002-10-06T07:03:37Z")

</div>

OK, Im trying to figure out how to load an internal movie clip? I am familar with loading a .swf by using:  
on (release) {  
loadMovieNum (“xxxx.swf”, 1);  
}

But what if you have the movie saved in your library and want to load it through a button on your main movie clip? Hope im making sense;)

Thanks!

---

<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:** [October 6, 2002, 7:16am UTC](https://forum.kirupa.com/t/loading-internal-movie-clip/6391/2 "2002-10-06T07:16:11Z")

</div>

That is the power of attachMovie().

GO into your library and right click on the movie clip you will want to load. Now choose “Linkage…” Check the “Export for Actionscript” box and put a name in the name box.

Now add an empty movie clip onto your stage to load your movie onto. In this example I will use “loadClip” as the instance name for this movie.

Now create your button. Add these actions…

```auto
on (release) {
	_root.loadClip.attachMovie("attacherClip", "attacherClip2", 1);
}

```

Where attacherClip is the name you gave your clip in the linkage area, attacherClip2 is the new name and 1 is the depth.

I hope this helps.

---

<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:** [October 9, 2002, 8:58am UTC](https://forum.kirupa.com/t/loading-internal-movie-clip/6391/3 "2002-10-09T08:58:28Z")

</div>

Got it working…Thanks for the help!

---

<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:** [October 9, 2002, 4:59pm UTC](https://forum.kirupa.com/t/loading-internal-movie-clip/6391/4 "2002-10-09T16:59:21Z")

</div>

No problem. Glad I could help 🙂
