# Problem with layers (I think...)

**URL:** https://forum.kirupa.com/t/problem-with-layers-i-think/26324
**Category:** flash
**Created:** [July 22, 2003, 12:36am UTC](https://forum.kirupa.com/t/problem-with-layers-i-think/26324 "2003-07-22T00:36:55Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![FIREWIGHT](https://avatars.discourse-cdn.com/v4/letter/f/ba9def/32.png) [@FIREWIGHT](https://forum.kirupa.com/u/FIREWIGHT)
#### Post date: [July 22, 2003, 12:36am UTC](https://forum.kirupa.com/t/problem-with-layers-i-think/26324/1 "2003-07-22T00:36:55Z")

</div>

Hey guys, I have a problem with levels I think.

I want to control my main MC from a seperate loaded MC…

the best way to explain it is with this diagram

![](http://www.fragfest.com.au/gemballa/site/layers.jpg)

I want to be able to load a MC into (3) via (2), which is already loaded into (1)…

I hope you understand what I mean.

Anyways, I think it’s a level problem, because my code for the button dosn’t work:

on (release) {  
loadMovie(“home.swf”, “main”);  
}

I think this is because the ‘main’ mc object is in MC (1) & not MC (2) where the button is.

I’m sure there is a simple solution to this problem, by targetting levels & the like, but I just don’t know how to do this yet…

any help would be great

cheers!

FW

---

<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 22, 2003, 1:35am UTC](https://forum.kirupa.com/t/problem-with-layers-i-think/26324/2 "2003-07-22T01:35:20Z")

</div>

Im confused… :hangover:  
Let me see if i get your idea. You have a movie clip with buttons inside. This movie clip is placed on your main movie. You want to load an external swf into “3”(which im assuming its a movie clip placed on main stage).  
Is that right? :-\

---

<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 22, 2003, 1:39am UTC](https://forum.kirupa.com/t/problem-with-layers-i-think/26324/3 "2003-07-22T01:39:30Z")

</div>

yep thats pretty much right

you can see what i’m working on here:

[http://www.fragfest.com.au/gemballa/site/index3.html](http://www.fragfest.com.au/gemballa/site/index3.html)

the top MC (2) has the buttons & is loaded onto the main MC (1). The middle MC (3) is also loaded onto the main MC, & thats the one I want to load/call via the buttons on the top MC (2)

…

:whistle:

---

<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 22, 2003, 1:43am UTC](https://forum.kirupa.com/t/problem-with-layers-i-think/26324/4 "2003-07-22T01:43:22Z")

</div>

Use the following action on your buttons:

```auto
on(relese){
loadMovie("yourmovie.swf",_root.mc3);
}

```

Where mc3 is the instance name of your “3” movie clip

---

<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 22, 2003, 1:46am UTC](https://forum.kirupa.com/t/problem-with-layers-i-think/26324/5 "2003-07-22T01:46:21Z")

</div>

Thanx claudio, that worked a treat!

I knew it would be as simple as telling it where to look, I just didn’t know the syntax that was needed.

Thanx again!

cheers!

FW

---

<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 22, 2003, 2:05am UTC](https://forum.kirupa.com/t/problem-with-layers-i-think/26324/6 "2003-07-22T02:05:05Z")

</div>

No problem =)
