0 Replies Latest reply on Aug 26, 2009 5:31 PM by Chet Haase

    [svn:fx-trunk] 9674: Better Auto-Centering feature checkin.

    Chet Haase Level 3

      Revision: 9674

      Author:   chaase@adobe.com

      Date:     2009-08-26 17:30:48 -0700 (Wed, 26 Aug 2009)

       

      Log Message:

      ***********

      Better Auto-Centering feature checkin.

      This feature makes it possible to use transform effects that auto-center on objects that change size during the effect. Previously, there would be artifacts with these operations because we would use a static transform center calculated at the effect's start time, so an object that resized would still use the old center point even though its actual center changed during the effect.

      Also some unrelated bug fixes in the same code: 22857 is fixed by combining multiple effects into a single keyframe sequence more correctly (we insert new keyframes that are at the same time as existing ones by moving them forward in time by some epsilon). 22635 is fixed by removing the assumption that the target's parent is a UIComponent, grabbing transform instead of $transform if it's not a UIComponent. 22421 is fixed by the overall auto-center feature. 22802 makes protected methods private (they aren't used outside of the class, shouldn't be protected to begin with).

       

      QE notes: Auto-Center feature ready for testing

      Doc notes:  None

      Bugs:  SDK-22857, SDK-22635, SDK-22421, SDK-22802

      Reviewer: Ely

      Tests run: checkintests, Mustella (tests/effects/[AnimateTransform|Move|Move3D|Rotate|Rotate3D|Scale3D])

      Is noteworthy for integration: Yes - transform effects on objects being resized now works as requested by Tools

       

      Ticket Links:

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

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

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

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

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

       

      Modified Paths:

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

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

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