Dynamic shape tween?

First off, thanks everyone for their help on my website. I got the mp3 player working cool.

I was wondering if anyone could de-mystify the art of dynamic shape tweening? I am trying to dynamically move a shape or tween one shape into another at the press of a button. An example of what I want to do is found at this website:

www.nooflat.nu

when you press a number, the shape of the frame changes dynamically. I would like to learn how to tween thru actionscript.

Gel
featherweight69@hotmail.com

there are several ways to do that, one that occurs to me is calling a function where u pass the parammeters of the with and height, and inside this function you can make the shape tween using AS tween animation.

Unfortunately for me, I don’t know how to code from scratch. But I can learn how it works if I see the actionscript and modify it. If there is anyone out there who has an example I can play with, that would be great.

I’ve attached an example, I used the tween class to do the scaling.