// This IS NOT actual working code.
globalX = localX + parentX;
globalY = localY + parenty;
In your case, this would be:
// This IS actual working code
Please not that this only works for movieclips inside another movieclip, with the latter being on the main timeline. For a movieclip in a movieclip in a movieclip, use
globalX = localX + _parent._x + _parent._parent._x
I hope you see how this works, ask me if you don't.