# Loading into depths

**URL:** <https://forum.kirupa.com/t/loading-into-depths/263999>\
**Category:** Uncategorized\
**Created:** [June 21, 2008, 9:00pm UTC](https://forum.kirupa.com/t/loading-into-depths/263999 "2008-06-21T21:00:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rf1017](https://avatars.discourse-cdn.com/v4/letter/r/e0b2c6/32.png) [@rf1017](https://forum.kirupa.com/u/rf1017)\
**Post date:** [June 21, 2008, 9:00pm UTC](https://forum.kirupa.com/t/loading-into-depths/263999/1 "2008-06-21T21:00:08Z")

</div>

Since I didn’t get a single reply to the main thread, I’m going to try and simplify the problem:

I’m creating a movie clip with AS:

```auto
this.createEmptyMovieClip("pool", 1)

```

and I’m also loading an external .swf in:

```auto
player.loadMovie("mp3player.swf");

```

How do I load the external .swf in “above” the movie clip being created by createEmptyMovieClip? It is always on top of it, on the highest depth, and I’d like the mp3player.swf to be on top instead.

here’s the original thread: [http://www.kirupa.com/forum/showthread.php?t=301320](http://www.kirupa.com/forum/showthread.php?t=301320)

Please help.

---

<div class="post-metadata">

**Author:** ![geestring](https://avatars.discourse-cdn.com/v4/letter/g/e19b73/32.png) [@geestring](https://forum.kirupa.com/u/geestring)\
**Post date:** [June 21, 2008, 10:09pm UTC](https://forum.kirupa.com/t/loading-into-depths/263999/2 "2008-06-21T22:09:34Z")

</div>

create another empty movie clip in pool and give it a depth of 2, then load the mp3player into pool.new\_mc.loadMovie.

---

<div class="post-metadata">

**Author:** ![rf1017](https://avatars.discourse-cdn.com/v4/letter/r/e0b2c6/32.png) [@rf1017](https://forum.kirupa.com/u/rf1017)\
**Post date:** [June 22, 2008, 1:45am UTC](https://forum.kirupa.com/t/loading-into-depths/263999/3 "2008-06-22T01:45:19Z")

</div>

the “pool” mc is being scaled to the width of the browser, so that wouldn’t work.

(the mp3player shouldn’t be scaled)

---

<div class="post-metadata">

**Author:** ![glosrfc](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/glosrfc/32/8334_2.png) [@glosrfc](https://forum.kirupa.com/u/glosrfc)\
**Post date:** [June 22, 2008, 2:21am UTC](https://forum.kirupa.com/t/loading-into-depths/263999/4 "2008-06-22T02:21:01Z")

</div>

this.createEmptyMovieClip(“pool”, -1)

or

player.loadMovieNum(“mp3player.swf”, 2);

---

<div class="post-metadata">

**Author:** ![rf1017](https://avatars.discourse-cdn.com/v4/letter/r/e0b2c6/32.png) [@rf1017](https://forum.kirupa.com/u/rf1017)\
**Post date:** [June 22, 2008, 10:10pm UTC](https://forum.kirupa.com/t/loading-into-depths/263999/5 "2008-06-22T22:10:25Z")

</div>

I found a solution!

this.createEmptyMovieClip(“pool”, 1);

this.createEmptyMovieClip(“player”, 2);

player.loadMovie(“mp3player.swf” );

thank you for your replies
