# Access one movieclip from another

**URL:** <https://forum.kirupa.com/t/access-one-movieclip-from-another/320286>\
**Category:** Uncategorized\
**Created:** [March 19, 2011, 3:12am UTC](https://forum.kirupa.com/t/access-one-movieclip-from-another/320286 "2011-03-19T03:12:40Z")\
**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, 3:12am UTC](https://forum.kirupa.com/t/access-one-movieclip-from-another/320286/1 "2011-03-19T03:12:40Z")

</div>

Hi

I have a main.fla that contains say 1\_mc and a 2\_mc.

a1\_mc has a button, which when clicked runs a function called say clickedButton.

a2\_mc has a marker\_mc inside it.

When the clickedButton function runs inside a1\_mc, I want the slider\_mc to go y=20

I know I can access main.fla timeline by

```auto
MovieClip(parent).gotoAndStop("nameOfLabel"); 

```

I tried

```auto
MovieClip(parent).a2_mc.marker_mc.y = 20; 

```

but it doesn’t work ☹
