0 Replies Latest reply on May 22, 2009 9:32 AM by Chet Haase

    [svn:fx-beta1] 7219: Fixes two bugs related to transitions.

    Chet Haase Level 3

      Revision: 7219

      Author:   chaase@adobe.com

      Date:     2009-05-22 08:32:09 -0700 (Fri, 22 May 2009)

       

      Log Message:

      ***********

      Fixes two bugs related to transitions. Transform effects (and Resize) force the transition state information to retain all property values in the start/end states, as opposed to the other effects which filter out values that do not change between states. This caused two problems that are now fixed:

      - we were creating animations for all transform-related properties, whether changing or not, which had the effect of 'pinning' the transform center in place because we detected that the transform offsets didn't want it to move (a misinterpretation of the information that the offsets center didn't move because it wasn't specified).

      - we were applying end values after the effect regardless of whether they were explicitly declared in the state or not. In general, an effect should not override end-state values, but if no values are specified for the state, then the effect should be allowed to set those values.

       

      QE Notes: Matt will change some effects tests to adjust to the new (correct) behavior

      Doc Notes:

      Bugs: sdk-20222, sdk-21181

      Reviewer: Jason

      tests: checkintests mustella effects, cyclone by Matt and Joan

       

      Ticket Links:

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

          http://bugs.adobe.com/jira/browse/sdk-20222

          http://bugs.adobe.com/jira/browse/sdk-21181

       

      Modified Paths:

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

          flex/sdk/branches/beta1/frameworks/projects/flex4/src/spark/effects/AnimateTransform.as

          flex/sdk/branches/beta1/frameworks/projects/flex4/src/spark/effects/supportClasses/Animat eTransformInstance.as