Position of one MovieClip in relation to one underneath

Hi folks,

I would like to return the x and y co-ordinates of one MovieClip in relation to another.

So, for example, if I had a movieclip of a small square (small1_mc) over/on a higher layer of a larger square (large1_mc) I need to know where the registration point of small1_mc is on large1_mc. I need to do this without using the cursor position i.e. so I would like a user to be able to click a button that returns the position rather than clicking on small1_mc.

I would appreciate any help because the only way I can think of doing this is to record the cursor position on large1_mc when small1_mc is clicked. Sorry if this is a no brainer but it’s confused me!

Many thanks

Duff :thumb: