# Loading MCs

**URL:** <https://forum.kirupa.com/t/loading-mcs/14315>\
**Category:** flash\
**Created:** [February 24, 2003, 11:46pm UTC](https://forum.kirupa.com/t/loading-mcs/14315 "2003-02-24T23:46:19Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lord\_ERK](https://avatars.discourse-cdn.com/v4/letter/l/e9c0ed/32.png) [@Lord\_ERK](https://forum.kirupa.com/u/Lord_ERK)\
**Post date:** [February 24, 2003, 11:46pm UTC](https://forum.kirupa.com/t/loading-mcs/14315/1 "2003-02-24T23:46:19Z")

</div>

In scene 1 I have 2 MC´s. In Mc1 I have a button. When  
clicked I want to load a external SWF into a MC called LOAD,  
which is located in MC2.

My current code on the button (cant figure out to write the right path !)

on (release) {  
MC2/LOAD.loadMovie(“Ericsson\_2004ad.swf”);  
}

How should the path be ?

(Anybody having a URL that explains path´s ?)  
Thanks in Advice !

---

<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:** [February 24, 2003, 11:52pm UTC](https://forum.kirupa.com/t/loading-mcs/14315/2 "2003-02-24T23:52:29Z")

</div>

Try

```auto
_root.mc2.loadMovie(...);

```

And there’s something about pathing in the AS tricks, but I wrote that and I should not be trusted when I write in English.  
You can check this also:  
[http://www.actionscript.org/tutorials/beginner/paths/index2.shtml](http://www.actionscript.org/tutorials/beginner/paths/index2.shtml)  
And remember: dot syntax only!!

pom :phil:

---

<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:** [February 24, 2003, 11:52pm UTC](https://forum.kirupa.com/t/loading-mcs/14315/3 "2003-02-24T23:52:30Z")

</div>

Howdy…

I think you can use  
\_level0.MC2.LOAD.loadMovie(“Ericsson\_2004ad.swf”);

[http://www.actionscript.org/tutorials/beginner/paths/index.shtml](http://www.actionscript.org/tutorials/beginner/paths/index.shtml)  
[http://www.actionscript.org/tutorials/intermediate/advanced\_pathing/index.shtml](http://www.actionscript.org/tutorials/intermediate/advanced_pathing/index.shtml)

These might be helpful for you… First one is abit outdated though… 😉

---

<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:** [February 24, 2003, 11:53pm UTC](https://forum.kirupa.com/t/loading-mcs/14315/4 "2003-02-24T23:53:26Z")

</div>

I’m too fast for you, Cyanblue :trout:

😛

And will you stop reading my mind please?

---

<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:** [February 24, 2003, 11:56pm UTC](https://forum.kirupa.com/t/loading-mcs/14315/5 "2003-02-24T23:56:32Z")

</div>

Busy reading the articles, Believe it will work after that.  
Thanks very much !!!

---

<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:** [February 24, 2003, 11:58pm UTC](https://forum.kirupa.com/t/loading-mcs/14315/6 "2003-02-24T23:58:12Z")

</div>

If you ever do that again, I’ll have to ship my puppies to lick your face off… :evil:

Sigh… I guess I am too old for this… :elderly:

---

<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:** [February 25, 2003, 12:30am UTC](https://forum.kirupa.com/t/loading-mcs/14315/7 "2003-02-25T00:30:16Z")

</div>

Busy reading the articles, Believe it will work after that.  
Thanks very much !!!
