# Child targeting Parent - AS3

**URL:** <https://forum.kirupa.com/t/child-targeting-parent-as3/244275>\
**Category:** flash\
**Created:** [November 15, 2007, 8:24pm UTC](https://forum.kirupa.com/t/child-targeting-parent-as3/244275 "2007-11-15T20:24:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![AsDummy](https://avatars.discourse-cdn.com/v4/letter/a/76d3ee/32.png) [@AsDummy](https://forum.kirupa.com/u/AsDummy)\
**Post date:** [November 15, 2007, 8:24pm UTC](https://forum.kirupa.com/t/child-targeting-parent-as3/244275/1 "2007-11-15T20:24:39Z")

</div>

Would someone please help me to correctly get a LOADED SWF to target a LOADER SWF?

I have a button in the LOADED SWF that “addChild” to the LOADER SWF.

I have the following action in the LOADED SWF:

stage.root.parent.addChild(button\_btn);

It doesn’t work and the error message is: “Access of undefined property button\_btn”

Any help would be deeply appreciated!!
