X and Y position of Externally loaded and resized SWF?

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