Mc placed on stage centrally

Hi everyone

I have a range of attached movie clips that are different widths. can someone explain how to always ensure that current Mc is centered on the stage. Im so tired i cant think straight

i know its something like this:-

_root.master_clip._x=_root.master_clip.Stage.width/2

respect

Kippereye