# \[MX\] Loading a .swf into a loaded swf

**URL:** <https://forum.kirupa.com/t/mx-loading-a-swf-into-a-loaded-swf/7663>\
**Category:** Uncategorized\
**Created:** [November 5, 2002, 2:19pm UTC](https://forum.kirupa.com/t/mx-loading-a-swf-into-a-loaded-swf/7663 "2002-11-05T14:19:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![fester8542](https://avatars.discourse-cdn.com/v4/letter/f/a183cd/32.png) [@fester8542](https://forum.kirupa.com/u/fester8542)\
**Post date:** [November 5, 2002, 2:19pm UTC](https://forum.kirupa.com/t/mx-loading-a-swf-into-a-loaded-swf/7663/1 "2002-11-05T14:19:54Z")

</div>

First off, thanks in advance for your help

What I have here is my main Flash movie.

My main flash movie goes out and loads an external swf into an empty MC

[COLOR=blue] \_root.contents.loadMovie(“2\_portfolio.swf”);[/COLOR]

There is no problem there.

Now in one of the scenes on the loaded movie I want to load some other swf’s into a blank MC. I am using the code (just one example)

[COLOR=blue]\_root.flash.loadMovie(“flash/cardcage.swf”);[/COLOR]

The movie works fine when I run it by itself “2\_portfolio.swf”

But when I run the whole movie, (the one that loads 2\_portfolio.swf) the secondary .swf files do not load.

Any idea as to what I am doing wrong?

THX

---

<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:** [November 5, 2002, 3:07pm UTC](https://forum.kirupa.com/t/mx-loading-a-swf-into-a-loaded-swf/7663/2 "2002-11-05T15:07:36Z")

</div>

loadMovie(“url”,level/target[, variables])

This is the usage of loadMovie. I think it is confusing the level/target thing. You need to mention that too.

Hope this helps!!

---

<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:** [November 5, 2002, 4:14pm UTC](https://forum.kirupa.com/t/mx-loading-a-swf-into-a-loaded-swf/7663/3 "2002-11-05T16:14:50Z")

</div>

Still kinda stuck but thanks for the tip

---

<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:** [November 6, 2002, 2:05pm UTC](https://forum.kirupa.com/t/mx-loading-a-swf-into-a-loaded-swf/7663/4 "2002-11-06T14:05:47Z")

</div>

Figured it out…

had to use the “this” command
