0 Replies Latest reply on Sep 30, 2009 2:29 PM by Chet Haase

    [svn:fx-trunk] 10759: Fixes bug in transform effects on nested group structures.

    Chet Haase Level 3

      Revision: 10759

      Author:   chaase@adobe.com

      Date:     2009-09-30 13:29:28 -0700 (Wed, 30 Sep 2009)

       

      Log Message:

      ***********

      Fixes bug in transform effects on nested group structures. We would calculate the transform center based on outdated width/height information for a group (because we took those values prior to running layout on the group, so it was not sized correctly).

       

      The fix is to add width/height to the list of properties that transform effects care about (?\226?\128?\152affectedProperties?\226?\128?\153). Then at those times when we calculate the transform center, we will use these cached values (which are correct at start/end time) rather than going out to the object to grab a potentially wrong value.

       

      QE notes:  Handful of Mustella tests fail due to the new values of relevantProperties/affectedProperties for transform effects. We now care about width/height properties, too.

      Doc notes: None

      Bugs: SDK-23346

      Reviewer: Jason

      Tests run: checkintests, Mustella spark/effects, mx/effects/Parallel, mx/effects/Sequence

      Is noteworthy for integration: Yes, downstream teams care about this bug

       

      Ticket Links:

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

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

       

      Modified Paths:

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

          flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransform.as

          flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Move.as

          flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Move3D.as

          flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Rotate.as

          flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Rotate3D.as

          flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Scale.as

          flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Scale3D.as

          flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/supportClasses/AnimateTransfor mInstance.as