Dynamic (Liquid) Canvas Size

Is it possible to have dynamic canvas size in flash?
My current canvas size is 1000 X 800, is it possible to increase the canvas size on runtime by passing height width of animation and without stretching the contents of swf.