What will be the stage width and height?


I have a Bkg_mc which is registered to top left corner. Now, how can I change the code to keep my Bkg_mc top left corner when the browser window resizes.

The following is the code:

stage.addEventListener(Event.RESIZE, resizeListener); 
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;
Bkg.x = stage.stageWidth/2; 
Bkg.y = stage.stageHeight/2;

function resizeListener (e:Event):void {

The lines to be modified here are:
[COLOR=#ff0000]Bkg.x = stage.stageWidth/2;[/COLOR]
[COLOR=#ff0000]Bkg.y = stage.stageHeight/2;[/COLOR]