import flash.geom.Point;
var point:Point = new Point(a.width/2 - a.m.width/2, a.height/2 - a.m.height/2);
a.m.x = point.x;
a.m.y = point.y;

a is the parent movieclip.