Primary Navigation

Syncing Animations

While I was writing an animation sequencer, I noticed that the Anim tweening seems to run a bit asynchronously. The animations aren t quite exactly matched up.

Message 1 of 1
, Dec 12, 2006

0 Attachment

While I was writing an animation sequencer, I noticed that the Anim tweening seems to run
a bit asynchronously. The animations aren't quite exactly matched up. As an example, I
created a masked image which moves around the screen, and requires a containing image
to animate exactly in the opposite direction. Firefox or Safari really shows the problem.

What I did was find the slowest animation, and corrected all the other animations'
currentFrame attribute to that value. Granted, the animations have the potential to be a lot
more jittery because it matches all the animations to the slowest, but the point is they are
jittery together.