It’s been long since i’ve wanted to achieve the effect of shape tween in swishmax.
I once tried to achieve it using two shapes: a rectangle and a circle while one of them is masked (the circle) – so it’ll look like the side of the rectangle is becoming round.
It didn’t look like a shape tween at all. I dropped it.
Few years later, after becoming more familiar with actionscript and its documentation, i looked for something that will allow me to script shape tween easily. Well – it wasn’t easy at all. Actionscript has its drawing api that allows you to draw lines from point to point, defining the lines to be curved or straight – that’s nice, but the gap between creating a nice shape tween in swishmax and scripting it – is not that small – almost….
After reading more on this drawing api I managed to achieve a nice primitive shape tween in swishmax2 – circle to rectangle – and vise versa. I played a little more, and added a picture fill to my shapes – wow – that came nice – a shape tween in swishmax for a picture. But that wasn’t enough for me. I wanted it to be more organic – “organic shape tween in swishmax2″ – that’s what I finally managed to achieve as far for shape tween in swishmax2.
Though that’s not all. To continue my resume of “swishmax component developer” – I plan to convert this swishmax’s shape tween experiment to a shape tween component for swishmax.
In the mean time, enjoy this little cool example of shape tween in swishmax (achieved by actionscript only):