Change movie size

is it possible to keep putting onEnter actionscript for changing the size of the movie window, on one frame right after another? so the window size is changing constantly?
and also, what would the as be for changing the size/dimension of the window that the flash is playing in?
i know, it “fscommand {” but im not sure what goes inside the command.
and then i would use setInterval { to start a timer before the next js command would be used to change the size again.
any suggestions/tutorials/files would be great. thanks for any help.