Yes you can. Jquery's animate function provides an option called progress (http://api.jquery.com/animate/):
A function to be called after each step of the animation
Inside this function you can set the nativeWindow.stage.stageHeight and nativeWindow.stage.stageWidth of your app.