Stage resize with easing

here is an example of what i am trying to do… I have been stuck for a while tring to create an ease on a mc when the browser is resized… here is an example…



here is my code… How would i ease/bounce on my mc “main”… maybe using laco’s custm tween when the browser is resized?

Stage.align = “LT”;
// prevent the Flash movie from resizing when the browser window changes size.
Stage.scaleMode = “noScale”;

// create a listener object
stageListener = new Object();
// add a methods for it to do certain things when the Stage is resized by our user
stageListener.onResize = function() {



expandTop = function() {

// expand the top banner/header/masthead - whatever you want to call it - to be as wide as the stage

bottom._y = Stage.height - bottom._height - 0;

main._y = Stage.height/2;
main._x = Stage.width/2;