0 Replies Latest reply on Sep 21, 2009 7:38 PM by Chet Haase

    [svn:fx-gumbo_beta2] 10484: Fix for autoCenter problem when Move/ Resize effects are used.

    Chet Haase Level 3

      Revision: 10484

      Author:   chaase@adobe.com

      Date:     2009-09-21 19:38:14 -0700 (Mon, 21 Sep 2009)


      Log Message:


      Fix for autoCenter problem when Move/Resize effects are used. autoCenterTransform calculates the center dynamically, using the current width/height of the target. This calculation can be one frame off if a Resize effect is running in parallel with the transform effect. Also, containers do their validation lazily, so they need to be forced to validate in order to have an up-to-date width/height. This fix addresses these problems by reordering the effects in a Parallel hierarchy to put the Resize effects (and composite effects containing Resize) at the front of the set of effects and by calling validateNow() on the target of a transform effect prior to calculating the transform center (if appropriate).


      QE notes: None

      Doc notes: None

      Bugs: SDK-23306

      Reviewer: Jason

      Tests run: checkintests, Mustella spark/effects mx/effects, manual tests

      Is noteworthy for integration: Yes


      Ticket Links:




      Modified Paths:


          flex/sdk/branches/gumbo_beta2/frameworks/projects/framework/src/mx/effects/effectClasses/ CompositeEffectInstance.as

          flex/sdk/branches/gumbo_beta2/frameworks/projects/framework/src/mx/effects/effectClasses/ ParallelInstance.as

          flex/sdk/branches/gumbo_beta2/frameworks/projects/spark/src/spark/effects/supportClasses/ AnimateTransformInstance.as