Point to a movieclip's x/y from a different movieclip

Hello,

I am trying to get the x & y values of a movieclip(contentMc) from inside a different movieclip. Is this the correct way?
Here’s my code:

myMc.x = MovieClip(root).contentMc.x;
myMc.y = MovieClip(root).contentMc.y;