[Flash Pro CS5] Help to convert AS3 Resizing code to AS2

Can anyone PLEASE Convert this to ActionScript 2.

I want to use this code in a flash project(it comes from a kirupa tutorial), but I also want to import as2 swf into the same project! So I need this code in AS2.

Thanks so much! =)

Actionscript 3 to be converted:

function init()
{
stage.align=StageAlign.TOP_LEFT;
stage.scaleMode=StageScaleMode.NO_SCALE;

stage.addEventListener(Event.RESIZE, updateSize);
stage.dispatchEvent(new Event(Event.RESIZE));

background_mc.x = 0;
background_mc.y = 0;

}
init();

function updateSize(e:Event)
{
//set background’s size
background_mc.width = stage.stageWidth;
background_mc.height = stage.stageHeight;

//center content
main_mc.x = stage.stageWidth/2 - main_mc.width/2;
main_mc.y = stage.stageHeight/2 - main_mc.height/2;

}