Fluid Site help

HI Guys, (sorry if this is in the wrong section i’m a newbie here)

Anyway, I’m trying to create a fluid site where one element remains at the bottom (BL actually) and the other element floats in the middle and resizes according to the browser size. Below is the actionscripting I have so far. It basically works horizontally but I can’t seem to get the MC “Main” to float in the middle vertically. Any ideas?

Thanks in advance!

Stage.align = “BL”;
Stage.scaleMode = “noScale”;
stop();

main._x = Stage.width/2
main._y = (Stage.height-515)/2
main._width = Stage.width*.75
main._height = (Stage.width/1.935)*.75

sizeListener = new Object();
sizeListener.onResize = function() {

main._x = Stage.width/2
main._y = (Stage.height-515)/2
main._width = Stage.width*.75
main._height = (Stage.width/1.935)*.75

};
Stage.addListener(sizeListener);