# Coordinates relative to grandparent?

**URL:** <https://forum.kirupa.com/t/coordinates-relative-to-grandparent/233740>\
**Category:** Uncategorized\
**Created:** [July 26, 2007, 3:02pm UTC](https://forum.kirupa.com/t/coordinates-relative-to-grandparent/233740 "2007-07-26T15:02:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![callie17](https://avatars.discourse-cdn.com/v4/letter/c/e47774/32.png) [@callie17](https://forum.kirupa.com/u/callie17)\
**Post date:** [July 26, 2007, 3:02pm UTC](https://forum.kirupa.com/t/coordinates-relative-to-grandparent/233740/1 "2007-07-26T15:02:14Z")

</div>

I’m sorry, I’m sure this has been answered, but I don’t know how to word a search without getting a bunch of irrelevant stuff.

I’m loading a game swf into another swf and I’m trying to get the coordinates of some nested sentry clips relative to the game swf stage. localtoGlobal will, of course, only return their coordinates based on level0 which will be the other swf that the game is in.

My levels are essentially:

Container swf  
–Game swf  
----gameHolder\_mc  
------object\_mc  
--------sentry\_mc

and I’d like to get the sentry\_mc.\_x based on the gameHolder\_mc
