0 Replies Latest reply on Aug 6, 2009 4:31 PM by Chet Haase

    [svn:fx-trunk] 9160: Fixed bug in Animation where seeking to a playheadTime greater than the current or next repetition cycle would end the animation .

    Chet Haase Level 3

      Revision: 9160

      Author:   chaase@adobe.com

      Date:     2009-08-06 16:31:06 -0700 (Thu, 06 Aug 2009)

       

      Log Message:

      ***********

      Fixed bug in Animation where seeking to a playheadTime greater than the current or next repetition cycle would end the animation. There was old logic in the frame calculation method (doInterval()) that incremented the start time of the current repetition cycle when it detected a repeat, but this doesn't work if you are seeking to a random time in the animation. The fix was to correctly calculate the time factors based on the playheadTime, which works for both seeking and playing scenarios.

       

      QE notes: None

      Doc notes: None

      Bugs: SDK-22561

      Reviewer: Jason

      Tests run: checkintests, Mustella (spark/effects)

      Is noteworthy for integration: No

       

      Ticket Links:

      ************

          http://bugs.adobe.com/jira/browse/SDK-22561

       

      Modified Paths:

      **************

          flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/animation/Animation.as