Resizing without distorting

:evil:
Hi people of the internet,

I’m using the following script to adjust a video_container’s size when the browser is stretched. What I need to know is if there is a way to enlarge and shrink it while at the same time keeping it’s shape proportionate to the video?

var stageResizeListener:Object = new Object();
stageResizeListener.onResize = function() {

    presentation.video_container._width = Stage.width;
    presentation.video_container._height = Stage.height;
};
Stage.align = "TL";
Stage.scaleMode = "noScale";
Stage.addListener(stageResizeListener);
Stage.addListener(sizeListener);