0 Replies Latest reply on Apr 23, 2010 4:33 PM by Chet Haase

    [svn:fx-trunk] 15679: Made layout constraint animation actually work.

    Chet Haase Level 3

      Revision: 15679

      Revision: 15679

      Author:   chaase@adobe.com

      Date:     2010-04-23 16:33:44 -0700 (Fri, 23 Apr 2010)

      Log Message:


      Made layout constraint animation actually work. Animating constraints (left, right, etc.) with the Animate effect worked previously, but only if the animation values were explicitly specified or, in a transition, if both states had valid values for the constraint. But if you attempted to run a transition animating "left" where the constraint was cleared in either state, the animation would fail.

      The fix checks for invalid values in the states and, when they occur, animates other related properties instead, or in addition. For example, an animation on "left" may turn into an animation on "x".


      QE notes: None (added new checkintest AnimateConstraintsTest; might be interesting to see for further Mustella test development)

      Doc notes: None

      Bugs: None

      Reviewer: Jason

      Tests run: checkintests (with new test), Mustella spark/effects

      Is noteworthy for integration: Yes. Downstream teams asked for this functionality.


      Modified Paths:




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




      Added Paths:


          flex/sdk/trunk/frameworks/tests/basicTests/spark/scripts/AnimateConstraintsTestScript.mxm l