# Bubble effect

**URL:** <https://forum.kirupa.com/t/bubble-effect/208292>\
**Category:** Uncategorized\
**Created:** [November 27, 2006, 10:59am UTC](https://forum.kirupa.com/t/bubble-effect/208292 "2006-11-27T10:59:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![amaze](https://avatars.discourse-cdn.com/v4/letter/a/13edae/32.png) [@amaze](https://forum.kirupa.com/u/amaze)\
**Post date:** [November 27, 2006, 10:59am UTC](https://forum.kirupa.com/t/bubble-effect/208292/1 "2006-11-27T10:59:49Z")

</div>

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/](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](http://www.amaze.gr/shapes/01.swf) 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. 🙂
