Beginner question about resize event

Hi all,

I am trying to get my movieclips centered on resize of the stage, when i test and resize it, all the movieclips show on the stage and get centered, but i only want the movieclip that is showing to center, what am i doing wrong?


//set stage position
stage.align = StageAlign.TOP_LEFT;
//do not let any of the stage scale
stage.scaleMode = StageScaleMode.NO_SCALE;

//add stage resize listener, 
//this is called when the browser or flash movie is resized
this.stage.addEventListener(Event.RESIZE, resizeHandler); 

//create trigger that is fired when the resize Event is triggered
function resizeHandler(event:Event):void {     
position();

}
textSquare.x = stage.stageWidth / 2 - textSquare.width / 2;
textSquareTwo.x = stage.stageWidth / 2 - textSquareTwo.width / 2;

function position(){
    
    
holderClip1.height = stage.stageHeight;
holderClip1.width = stage.stageWidth;
holderClip2.height = stage.stageHeight;
holderClip2.width = stage.stageWidth;
(holderClip1.scaleX > holderClip1.scaleY ) ? holderClip1.scaleY = holderClip1.scaleX : holderClip1.scaleX = holderClip1.scaleY;
(holderClip2.scaleX > holderClip2.scaleY ) ? holderClip2.scaleY = holderClip2.scaleX : holderClip2.scaleX = holderClip2.scaleY;
preLoader.x = stage.stageWidth/2;
preLoader.y = stage.stageHeight/2;
greySquare.width = stage.stageWidth;
greySquareFooter.y = stage.stageHeight - 10;
greySquareFooter.width = stage.stageWidth;
textSquare.x = stage.stageWidth / 2 - textSquare.width / 2;
textSquareTwo.x = stage.stageWidth / 2 - textSquare.width / 2;

I want textSquare and textSquareTwo to resize to the center, but when i resize the stage they both show up.

Any help is appreciated.