# Empty movieclip within an empty movieclip

**URL:** <https://forum.kirupa.com/t/empty-movieclip-within-an-empty-movieclip/22180>\
**Category:** Uncategorized\
**Created:** [May 31, 2003, 3:53pm UTC](https://forum.kirupa.com/t/empty-movieclip-within-an-empty-movieclip/22180 "2003-05-31T15:53:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![glitch007](https://avatars.discourse-cdn.com/v4/letter/g/ad7895/32.png) [@glitch007](https://forum.kirupa.com/u/glitch007)\
**Post date:** [May 31, 2003, 3:53pm UTC](https://forum.kirupa.com/t/empty-movieclip-within-an-empty-movieclip/22180/1 "2003-05-31T15:53:35Z")

</div>

Ok, here’s my problem:

I have 2 swf files: “fileA” and “fileB” and they both contain empty movie clips (let’s call them clipA for the one in “file a” and clipB for “file b”)

I have a button on fileA.swf that loads fileB.swf into clipA, it also loads a jpg into clipB (the empty movieclip on fileB)

The code I have (on the button in fileA.swf) right now is:

```auto

on (press) {
	clipA.loadMovie("fileB.swf");
}

on (release) {
	clipA.clipB.loadMovie("asdf.jpg");
}

```

I need to put actions in separate events because it doesn’t work if I put them together.

When I run the swf, it works fine, however if I view the swf in a webpage, sometimes the picture shows, sometimes it doesn’t.

Could anyone explain/tell me how to fix it?  
thanks a lot

---

<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:** [May 31, 2003, 4:13pm UTC](https://forum.kirupa.com/t/empty-movieclip-within-an-empty-movieclip/22180/2 "2003-05-31T16:13:59Z")

</div>

Do you have to keep this structure? It’a bit twisted 🙂

---

<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:** [May 31, 2003, 4:24pm UTC](https://forum.kirupa.com/t/empty-movieclip-within-an-empty-movieclip/22180/3 "2003-05-31T16:24:27Z")

</div>

lol, yeah it is twisted almost like a matrix within a matrix… anyways, I’m actually trying to load text into clipB from fileA.swf, but the same thing happens. I prefer it like this because I don’t need to make a separate swf file for every text file I want to load.

---

<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:** [June 1, 2003, 8:39pm UTC](https://forum.kirupa.com/t/empty-movieclip-within-an-empty-movieclip/22180/4 "2003-06-01T20:39:36Z")

</div>

so could anyone help me out please?
