# Mystery clip appears on stage

**URL:** <https://forum.kirupa.com/t/mystery-clip-appears-on-stage/287749>\
**Category:** Uncategorized\
**Created:** [May 5, 2009, 9:10pm UTC](https://forum.kirupa.com/t/mystery-clip-appears-on-stage/287749 "2009-05-05T21:10:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![maxelcat](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/maxelcat/32/2854_2.png) [@maxelcat](https://forum.kirupa.com/u/maxelcat)\
**Post date:** [May 5, 2009, 9:10pm UTC](https://forum.kirupa.com/t/mystery-clip-appears-on-stage/287749/1 "2009-05-05T21:10:18Z")

</div>

Hi

I have a movieclip called transitions\_mc within which I have an empty mc called imageHolder which is animated around the stage.

I want to load a .swf file into imageHolder, and when its loaded run the animation.

So far I have been doing this - it appears to work - the imported swf animates onto the stage. However…

```auto

function backgroundImage(ptl:Number):Void {
//add transition_mc to the stage
newClip = attachMovie("transition_mc","transition_mc"+clicks,1000+clicks, {_x:45, _y:95});
//get url of swf
var imageUrl:String = episode+"/"+RootNode.childNodes[ptl-1].firstChild.firstChild.nodeValue; 
 
var my_mcl:MovieClipLoader = new MovieClipLoader();
var mclListener:Object = new Object();
//onLoadComplete
mclListener.onLoadComplete = function(target_mc:MovieClip, status:Number):Void {
//trace ("loaded");
newClip.gotoAndPlay("on"); 
}
 
my_mcl.addListener(mclListener);
//my_mcl.loadClip(imageUrl,this.transition_mc.imageHolder);
my_mcl.loadClip(imageUrl,newClip.imageHolder);
 
 
for(i in _root){
if(typeof(_root*)=="movieclip")
{trace(_root*);
}
}
}//end newBackgroundImage

```

When I run the file the output shows this:

```auto

_level0.transition_mc0
_level0.transition_mc0

```

amongst other things.

I have two questions:

1. Why are there two versions on the of the clip on the stage?

2. Does my imported swf replace the mc called imageHolder - or go inside the mc called imageHolder?

Many thanks

E
