# loadMovie Problem

**URL:** https://forum.kirupa.com/t/loadmovie-problem/56934
**Category:** flash
**Created:** [July 8, 2004, 10:53pm UTC](https://forum.kirupa.com/t/loadmovie-problem/56934 "2004-07-08T22:53:17Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![dude9er](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dude9er](https://forum.kirupa.com/u/dude9er)
#### Post date: [July 8, 2004, 10:53pm UTC](https://forum.kirupa.com/t/loadmovie-problem/56934/1 "2004-07-08T22:53:17Z")

</div>

I’m loading an external swf into an empty mc called “emptyMC” on my main timeline. that loaded swf loads another swf into an empty mc called “view2” when a button is pressed. Here is my code…

```auto

on (release) {
loadMovie("tabletennis.swf", "_root.emptyMC.view2");
}

```

the above code isn’t working right. I’m not sure how to target each empty MC in sequence in order for this to work.

Any thoughts?

Thanks. This board has been a great help so far.

---

<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 9, 2004, 2:00am UTC](https://forum.kirupa.com/t/loadmovie-problem/56934/2 "2004-07-09T02:00:40Z")

</div>

sorry i not so undertsand what u mean…  
but as i know you cannot put 2 items as “\_root.emptyMC.view2”.  
If you want a movie load a external swf file and that external swf file load another external file again .Then u shall make another movie inside that first external loaded movie to load the second external file.

---

<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 9, 2004, 3:50am UTC](https://forum.kirupa.com/t/loadmovie-problem/56934/3 "2004-07-09T03:50:31Z")

</div>

what about:

on (release) {  
loadMovie(“tabletennis.swf”, “\_root.view2”);  
}

---

<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 10, 2004, 6:35pm UTC](https://forum.kirupa.com/t/loadmovie-problem/56934/4 "2004-07-10T18:35:16Z")

</div>

hi g-shock. I tried the above code and it isn’t working. view2 isn’t exactly on the root timeline, it’s in a empty MC called “emptyMC” that is on the main timeline. Any ideas on how to target it. I just can’t seem to get this darn thing working. Any thoughts would be much appreciated.

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: [July 10, 2004, 6:59pm UTC](https://forum.kirupa.com/t/loadmovie-problem/56934/5 "2004-07-10T18:59:36Z")

</div>

> [@dude9er](#):
>
> hi g-shock. I tried the above code and it isn’t working. view2 isn’t exactly on the root timeline, it’s in a empty MC called “emptyMC” that is on the main timeline. Any ideas on how to target it. I just can’t seem to get this darn thing working. Any thoughts would be much appreciated.
> 
> Thanks.

The code you were using

on (release) {  
loadMovie(“tabletennis.swf”, “\_root.emptyMC.view2”);  
}

should work. I`ve reproduced the hierachy here & no probs, so it must be something else.  
[http://www.gifsrus.com/testfile/disp.zip](http://www.gifsrus.com/testfile/disp.zip)
