photo.x = (stage.stageWidth - photo.width) * 0.5; photo.y = (stage.stageHeight - photo.height) * 0.5;