I’ve seen a similar effect at http://laco.wz.cz/tween/?page=examples but the FLA’s are MX2004. I’m going to contact the webmaster and ask for a MX FLA. I’ll let you know what I find out.
No matter the size of you initial Square, when you load the movie, it will take the shape/size isHeight = 28 ; isWidth = 519 ; Then, when you click your btn, it will take the shape/size _root.mcSquare.isWidth = 300; _root.mcSquare.isHeight = 400;
From here you can just use your imagination and have fun.
THE OTHER WAY…
Or my favourite way of performing easing (the one I use for every single easing effect) would be the Penner Easing Equations.
The Penner Easing Equations is more complex, but can achieve more spectacular easing effect (bouncing, exponentials etc) and would be too complicated and too long to explain here, however, if you are willing to learn by understanding how it works through examples, he is distributing his work for free (crazy): http://www.robertpenner.com/easing/
Hope this help ya, or at least put you on the right track.
you can add a gotoAndPlay(frame # contianing your text or whatever) to your “on (release)” action for your btn1 , then it will send you to a specific frame, but in your time line, the mcSquare will still be there, but you can have however many keyFrames, each containing a different text.
So you have a layer for your buttons (links), a layer for your text, and a layer for your mcSquare…
(fun and easy)
Other ways:
load external movie.swf “onclick()”, or perhaps create another mc with an external xml data.