# Dynamic shape tween?

**URL:** <https://forum.kirupa.com/t/dynamic-shape-tween/183681>\
**Category:** Uncategorized\
**Created:** [March 29, 2006, 6:00am UTC](https://forum.kirupa.com/t/dynamic-shape-tween/183681 "2006-03-29T06:00:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![GelFW](https://avatars.discourse-cdn.com/v4/letter/g/edb3f5/32.png) [@GelFW](https://forum.kirupa.com/u/GelFW)\
**Post date:** [March 29, 2006, 6:00am UTC](https://forum.kirupa.com/t/dynamic-shape-tween/183681/1 "2006-03-29T06:00:53Z")

</div>

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](mailto:featherweight69@hotmail.com)

---

<div class="post-metadata">

**Author:** ![pensamente](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/pensamente/32/1208_2.png) [@pensamente](https://forum.kirupa.com/u/pensamente)\
**Post date:** [March 29, 2006, 11:10am UTC](https://forum.kirupa.com/t/dynamic-shape-tween/183681/2 "2006-03-29T11:10:48Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![GelFW](https://avatars.discourse-cdn.com/v4/letter/g/edb3f5/32.png) [@GelFW](https://forum.kirupa.com/u/GelFW)\
**Post date:** [March 29, 2006, 10:31pm UTC](https://forum.kirupa.com/t/dynamic-shape-tween/183681/3 "2006-03-29T22:31:30Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![joene](https://avatars.discourse-cdn.com/v4/letter/j/96bed5/32.png) [@joene](https://forum.kirupa.com/u/joene)\
**Post date:** [March 30, 2006, 8:20am UTC](https://forum.kirupa.com/t/dynamic-shape-tween/183681/4 "2006-03-30T08:20:05Z")

</div>

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