# Find MovieClips (X, Y)

**URL:** <https://forum.kirupa.com/t/find-movieclips-x-y/322980>\
**Category:** flash\
**Created:** [June 11, 2011, 6:31pm UTC](https://forum.kirupa.com/t/find-movieclips-x-y/322980 "2011-06-11T18:31:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jaggernought](https://avatars.discourse-cdn.com/v4/letter/j/ce73a5/32.png) [@jaggernought](https://forum.kirupa.com/u/jaggernought)\
**Post date:** [June 11, 2011, 6:31pm UTC](https://forum.kirupa.com/t/find-movieclips-x-y/322980/1 "2011-06-11T18:31:23Z")

</div>

Uhm, I’m sure this should be allot easier so i though I’d ask here…

Ive got a two classes “Cell” and “Grid”, a movie clip “Cell”, and a sprite “Cell Sprite”.

I use the Grid class to add new Cell classes, each Cell class adds a Cell movie clip to the Cell Sprite.

I’ve added an “MouseEvent.CLICK” event to the Cell movie clip inside the Cell class. My problem is that it thinks its X and Y are (0,0). I have also got it to display it’s first X and Y coordinates but when the Cell movie clip is dragged around the X and Y coordinates are not updated.

To sum up I’m trying to find the X and Y or a movie clip.

Thanks allot
