Is this possible with flash or not

Hello

I am trying to create a movie that will resize depending on the data that will be displayed in it.

I have an intial movie with stage set to 800*600 and if you click a button then the stage height chages to let say 1000. but because my movie height is set to 600 the remaining bit is chopped off. so is there a way to change the stage height dynamically