# Tweening a movieclip in the parent

**URL:** <https://forum.kirupa.com/t/tweening-a-movieclip-in-the-parent/320298>\
**Category:** Uncategorized\
**Created:** [March 19, 2011, 7:10pm UTC](https://forum.kirupa.com/t/tweening-a-movieclip-in-the-parent/320298 "2011-03-19T19:10:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![seasonss](https://avatars.discourse-cdn.com/v4/letter/s/3bc359/32.png) [@seasonss](https://forum.kirupa.com/u/seasonss)\
**Post date:** [March 19, 2011, 7:10pm UTC](https://forum.kirupa.com/t/tweening-a-movieclip-in-the-parent/320298/1 "2011-03-19T19:10:32Z")

</div>

Hi

I have a main.fla and few movieclips inside it.

Lets take t1\_mc for instance which has a button called next inside it

```auto

next_btn.addEventListener(MouseEvent.CLICK, goNext);
function goNext(event:MouseEvent){
	MovieClip(parent).gotoAndStop("t2");
}

```

On the main timeline there is another movieclip called popup\_mc which has a marker\_mc inside it. I want to be able to tween the y position of the marker\_mc. How do I create this hierarchy in code?

I know if it was all in the main timeline I could use

```auto
TweenLite.to(popup_mc.marker_mc, 0, {y:-127});

```

Thank you
