0 Replies Latest reply on Jan 6, 2010 4:19 PM by Chet Haase

    [svn:fx-trunk] 13317: Fix to allow Animate to automatically handle changes in styles during transitions .

    Chet Haase Level 3

      Revision: 13317

      Revision: 13317

      Author:   chaase@adobe.com

      Date:     2010-01-06 16:19:04 -0800 (Wed, 06 Jan 2010)

      Log Message:

      ***********

      Fix to allow Animate to automatically handle changes in styles during transitions. This same logic already works for properties (e.g., if you specify different values for x in states and run Animate with a SimpleMotionPath with property="x" then it will automatically determine the from/to values to animate for x). But we needed to add an override for getRelevantStyles() for Animate to advertise the possible styles to pick up changes for so that the transitions array would be populated accordingly.

       

      QE notes: None

      Doc notes: This is a fix that should allow the second animated skin example in the docs (spark_skinning, p46) to work as detailed in my edits

      Bugs: sdk-24932

      Reviewer: Jason

      Tests run: checkintests, Mustella spark/effects

      Is noteworthy for integration: No

       

      Ticket Links:

      ***********

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

       

      Modified Paths:

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

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