Monthly Archives: June 2010

Animating advanced outlines

This is a small class I recently created for a project. Basically it makes you tween the “percents drawed” of an outline shape. The shape is simply defined by an array of points, so you could also draw simple lines with this!
The cool thing is that you don’t have to be a math genius or animate many lines separately, you just tween the percentage of the entire shape to render/draw.

See an example here

Get the source class and example here

Tip: click the stage of the example and see how a shape (only the first shape in this example) can change the positions runtime.

You will of course need TweenLite to use my example.