Part of my job is making Flash movies that make things zoom around the screen. This is good because animation generates interest, creates pizzaz, and is just plain neat. So I might as well do it in a pleasing manner.
I’m embarrassed to admit how long it took my pea brain to work-out a sine easing function last week, after finishing it I sat down with a nice cup of tea and began to trawl through the 1000 or so messages that had accumulated in my FlashCoders mailbox. Found these:
- Robert Penner’s Easing Equations for Flash (has bounce function). This geeky doodad is a good demo that uses Robert’s easing functions.
- Timothée Groleau’s easing function generator, top notch.
Both have ActionScript 1.0 and ActionScript 2.0 source.