# Loading a movieclip

**URL:** https://forum.kirupa.com/t/loading-a-movieclip/39133
**Category:** Uncategorized
**Created:** [January 3, 2004, 9:53pm UTC](https://forum.kirupa.com/t/loading-a-movieclip/39133 "2004-01-03T21:53:49Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![cartoonfox](https://avatars.discourse-cdn.com/v4/letter/c/bb73d2/32.png) [@cartoonfox](https://forum.kirupa.com/u/cartoonfox)
#### Post date: [January 3, 2004, 9:53pm UTC](https://forum.kirupa.com/t/loading-a-movieclip/39133/1 "2004-01-03T21:53:49Z")

</div>

hi. i know how load an external swf into a blank movieclip. but can it be done with loading a movieclip into a blank movieclip, in the same file?

heres the code i have to load an external swf

```auto
stop();
_root.loader.loadMovie(_root.m_name);
}

```

“loader” is the instance name of the blank mc, and “m\_name” is the name of the external swf. ( i have code on button press to call “home.swf”(etc) m\_name. and it loads the last thing that was called m\_name. to make transitions smoother)

how would i change this code to make it load a movieclip from the same file. (i’m guessing its something to do with the (\_root.m\_name) bit)

thanks for any help.
