# Targeting child of parents child

**URL:** <https://forum.kirupa.com/t/targeting-child-of-parents-child/302668>\
**Category:** Uncategorized\
**Created:** [January 5, 2010, 2:52pm UTC](https://forum.kirupa.com/t/targeting-child-of-parents-child/302668 "2010-01-05T14:52:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marinade\_kage](https://avatars.discourse-cdn.com/v4/letter/m/50afbb/32.png) [@Marinade\_kage](https://forum.kirupa.com/u/Marinade_kage)\
**Post date:** [January 5, 2010, 2:52pm UTC](https://forum.kirupa.com/t/targeting-child-of-parents-child/302668/1 "2010-01-05T14:52:41Z")

</div>

Hi there, I;m pretty new to Kirupa, but it has helped me alot in the past finding out more about Actionscript 3. I have a problem and I cannot get to fix it, it might be a simple thing but as I’m not a real OOP coder, I’m experiencing headaches 😁.

Here’s the situation:  
I have a scene(as3) with on frame one the preloader that centers on the canvas, on the second frame there’s two MC’s; one containing the Background that scales proportionally and centers. The second MC on the same frame contains my website content(called main\_) that doesn’t scale but only centers on the canvas. Now I created two buttons in that main\_ MC to jump to the next frame of the Backgroud MC. so actually I’m trying to target frames or framelabels of another child of the parent of main\_ MC.

I’ve tried multiple things like MovieClip(this.parent)… and adding the child to its parent and try to inherit its listener function. It throws errors or isn’t doing anything.

I think I’m not thinking in the correct hierarchy or I’m making a mistake. Or it might not even be possible, Does anybody have some suggestions? thanx in advance!
