# Targeting Mc-s on timeline from inside a second mc

**URL:** <https://forum.kirupa.com/t/targeting-mc-s-on-timeline-from-inside-a-second-mc/259189>\
**Category:** flash\
**Created:** [May 1, 2008, 8:40pm UTC](https://forum.kirupa.com/t/targeting-mc-s-on-timeline-from-inside-a-second-mc/259189 "2008-05-01T20:40:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![luka66\_6](https://avatars.discourse-cdn.com/v4/letter/l/a9a28c/32.png) [@luka66\_6](https://forum.kirupa.com/u/luka66_6)\
**Post date:** [May 1, 2008, 8:40pm UTC](https://forum.kirupa.com/t/targeting-mc-s-on-timeline-from-inside-a-second-mc/259189/1 "2008-05-01T20:40:32Z")

</div>

Hi

I have a problem targeting a mc that is on main timeline with button that lies inside a mc that is on main time line. What should code look like to target something that lies on main timeline from some where else.

it is like that:

timeline

- movie clip that needs to be targeted, another movie clip containing button that needs to target first mc

I am using action script 3. Pls help me as i am still a beginner and i am stuck with this problem for two days in a row now.
