Text field at the center of the satge

Hi,

I have text field on the stage. How will I take it to the center of the stage?
It’s registration point is at the center that is why its goin little away from the center.


a_txt._x=Stage.width/2;

thanks…