# addChild Help :)

**URL:** <https://forum.kirupa.com/t/addchild-help/317925>\
**Category:** flash\
**Created:** [January 6, 2011, 6:13am UTC](https://forum.kirupa.com/t/addchild-help/317925 "2011-01-06T06:13:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dalladaniel](https://avatars.discourse-cdn.com/v4/letter/d/4da419/32.png) [@dalladaniel](https://forum.kirupa.com/u/dalladaniel)\
**Post date:** [January 6, 2011, 6:13am UTC](https://forum.kirupa.com/t/addchild-help/317925/1 "2011-01-06T06:13:33Z")

</div>

Hi there, ok first of all thx for repling me, and sorry for my bad english :S  
ok lets expalin the problem, ive got a web, that has a meu, and inside it has another menu, so 2 menus in one MC, then, one button in those menus loads an SWF, with this function

function loadgaleria1(event:MouseEvent){   
var contGal:Loader = new Loader();  
var stringLoad = String;  
stringLoad = “diseno1/primer\_corte/”+event.target.name+".swf";  
contGal.load(new URLRequest(stringLoad));  
parent.addChild(contGal);  
}

but when it loads it does with the register point of the menu mc :S so i tried to use parent.addCild, but when it loads :S it does in front of my menu :S how can i try to fix it :S…
