Chapter 10TWEEN ENGINES

In Chapter 8 of Making Things Move I wrote about a subject called easing. I called this type of easing simple easing because it was quite easy to implement and had limited power and flexibility. This type of easing consists of having an object and a target location for that object to move to. On each frame you calculate the distance between the object and the target and move it one-half (or some other fraction) of that distance. The object moves smoothly into place, slowing down as it arrives at the target.

In that chapter I made reference to Robert Penner's easing functions and suggested that you look into them, (referring to them as advanced easing). This was a subject I would have liked to write about back then, but ...

Get AdvancED ActionScript 3.0 Animation now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.