# \_root problem in calling an external .swf

**URL:** https://forum.kirupa.com/t/-root-problem-in-calling-an-external-swf/238795
**Category:** flash
**Created:** [September 15, 2007, 9:38am UTC](https://forum.kirupa.com/t/-root-problem-in-calling-an-external-swf/238795 "2007-09-15T09:38:53Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![lucite](https://avatars.discourse-cdn.com/v4/letter/l/9fc348/32.png) [@lucite](https://forum.kirupa.com/u/lucite)
#### Post date: [September 15, 2007, 9:38am UTC](https://forum.kirupa.com/t/-root-problem-in-calling-an-external-swf/238795/1 "2007-09-15T09:38:53Z")

</div>

I am trying to place an external .swf into my main movie.

I created a container movie for the .swf in the main .fla:

```auto
this.createEmptyMovieClip("mapcontainer",this.getNextHighestDepth );
mapcontainer._x = 163;
mapcontainer._y = 101;
mapcontainer._width = 640;
mapcontainer._height = 480;

```

I then load my external .swf thus:

```auto
mapcontainer.loadMovie("map.swf");

```

THE BUG:

The .swf doesn’t load and I get this error repeated over and over:

```auto
Target not found: Target="_root.tell_but_fleuves" Base="_level0.mapcontainer.tell_but_fleuves"
Target not found: Target="_root.tell_but_villes" Base="_level0.mapcontainer.tell_but_villes"
Target not found: Target="_root.tell_but_aoc" Base="_level0.mapcontainer.tell_but_aoc"

```

I imagine that the solution lies in readjusting \_root for the fact that the external .swf is now placed inside a parent, but I don’t know how to do that.

n.b. my final movie is meant to run offline.

[COLOR=Magenta]I’m an AS newb, so please be patient/thorough if you respond.[/COLOR]

THANKS!
