# addChild to the parent from the child?

**URL:** <https://forum.kirupa.com/t/addchild-to-the-parent-from-the-child/276103>\
**Category:** flash\
**Created:** [November 22, 2008, 7:13pm UTC](https://forum.kirupa.com/t/addchild-to-the-parent-from-the-child/276103 "2008-11-22T19:13:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rundevo](https://avatars.discourse-cdn.com/v4/letter/r/f04885/32.png) [@Rundevo](https://forum.kirupa.com/u/Rundevo)\
**Post date:** [November 22, 2008, 7:13pm UTC](https://forum.kirupa.com/t/addchild-to-the-parent-from-the-child/276103/1 "2008-11-22T19:13:42Z")

</div>

Hi guys!

I have a main.fla with a MovieClip thats on the timeline that I load a background into!  
The Movieclip has an instance name of bg.

Now, I wonder if it´s possible to load another background into that layer/frame/MC from the player.swf that I loaded from the main.swf

I thought

```auto
public function bgLoaded(event:Event):void
		{
			this.parent.parent.bg.addChild(this.bgLoader);
			fadeTween = new Tween(event.target.content,"alpha",None.easeOut,0,1,0.5,true);
		}

```

would do it, but no luck there ☹

Any thoughts and any help would be very much appreciated!

Thanks in advance!

/rundevo
