0 Replies Latest reply on Dec 21, 2009 1:10 PM by Chet Haase

    [svn:fx-trunk] 13126: Fix to bug when ending Parallel effects with Resize effect children.

    Chet Haase Level 3

      Revision: 13126

      Revision: 13126

      Author:   chaase@adobe.com

      Date:     2009-12-21 13:10:02 -0800 (Mon, 21 Dec 2009)

      Log Message:

      ***********

      Fix to bug when ending Parallel effects with Resize effect children. There were three problems here:

      - Resize effects were being mis-ordered inside of the Parallel, causing them to be ended out of order. If any of these effects were order-dependent, this caused a problem in ending at the right values.

      - Animation usually populates the values of an effect lazily, just when it actually starts. So an effect with a startDelay would not get real from/to values until the startDelay elapsed. This meant that an effect that was end()'d prematurely would send out a bogus final value because it had not yet been populated with real from/to values.

      - Repeating/reversing animations were not being end()'d at the proper beginning/end value, based on their repeatCount (they would always end at the full durection of whatever iteration they were currently in).

       

      QE notes: None

      Doc notes: None

      Bugs: SDK-24755

      Reviewer: Jason

      Tests run: Checkintests, Mustella spark/effects, mx/effects

      Is noteworthy for integration: Yes: reported in Catalyst bug bash

       

      Ticket Links:

      ***********

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

       

      Modified Paths:

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

          flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Effect.as

          flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/ParallelInstanc e.as

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