[COMPONENT].x = - [COMPONENT].width / 2; [COMPONENT].y = - [COMPONENT].height / 2; var _content:Sprite = new Sprite(); _content.addChild([COMPONENT]); _content.scaleX = _content.scaleY = 1.5;