# X and Y position of Externally loaded and resized SWF?

**URL:** <https://forum.kirupa.com/t/x-and-y-position-of-externally-loaded-and-resized-swf/285993>\
**Category:** flash\
**Created:** [April 8, 2009, 3:49pm UTC](https://forum.kirupa.com/t/x-and-y-position-of-externally-loaded-and-resized-swf/285993 "2009-04-08T15:49:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![artriste](https://avatars.discourse-cdn.com/v4/letter/a/f475e1/32.png) [@artriste](https://forum.kirupa.com/u/artriste)\
**Post date:** [April 8, 2009, 3:49pm UTC](https://forum.kirupa.com/t/x-and-y-position-of-externally-loaded-and-resized-swf/285993/1 "2009-04-08T15:49:53Z")

</div>

Hi,

- My flash project is resizeable.
- I’m loading SWF files on the main stage.
- I need the X Y coordinates of an elements from the external SWF

The problem is that even though the loaded SWF resizes on browser resize, which thus moves the objects within it, if I perform a Trace command to give the the X and Y position of these resizing objects, they are always the same. Flash seems to be looking at the loaded SFW stage rather than the main stage…

How do I find out the X and Y coordintes (relative to the main stage) of a movie clip from an externally loaded SWF that resizes?

Thanks
