# Coordinates of movieclip within a movieclip?

**URL:** https://forum.kirupa.com/t/coordinates-of-movieclip-within-a-movieclip/88418
**Category:** Uncategorized
**Created:** [April 29, 2005, 1:02am UTC](https://forum.kirupa.com/t/coordinates-of-movieclip-within-a-movieclip/88418 "2005-04-29T01:02:13Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![veraxoxo](https://avatars.discourse-cdn.com/v4/letter/v/f19dbf/32.png) [@veraxoxo](https://forum.kirupa.com/u/veraxoxo)
#### Post date: [April 29, 2005, 1:02am UTC](https://forum.kirupa.com/t/coordinates-of-movieclip-within-a-movieclip/88418/1 "2005-04-29T01:02:13Z")

</div>

Seemingly simple question:

I have a movieclip “scroller” within which sits a movieclip “container”.  
At root level I have an instance of “scroller” which can be moved along the x axis by the user.

How do I access the x coordinates of the corresponding “container” object at any given time?

\_root.scroller.container.\_x always gives me the same value- the value of “container\_x” inside the library object of “scroller”.

Any ideas?
