Bubble effect

I found the following classes that help me create various ‘advanced’ shapes using only ActionScript, which I use to draw my site’s shapes (header, main bg etc.)

http://www.mediaverk.lv/asd/ (the site with the scripts)

I’m trying to draw the shapes in real time…like a transition, so each time a button is pressed I want to make an effect like the shape was a bubble that shrinks and then gets its original shape/size again to become the background shape for the new section. (all in AS)

HERE you can see what I’ve created so far. (I’m using XML for image and text loading and the above classes for the shapes - 100% AS)

Any advice?
Thanks in advance. :slight_smile: