0 Replies Latest reply on Jan 27, 2010 1:37 PM by Chet Haase

    [svn:fx-4.0.0] 13827: Fixes RTE in Wipe/CrossFade effect.

    Chet Haase Level 3

      Revision: 13827

      Revision: 13827

      Author:   chaase@adobe.com

      Date:     2010-01-27 13:37:25 -0800 (Wed, 27 Jan 2010)

      Log Message:


      Fixes RTE in Wipe/CrossFade effect. The RTE occurs when these effects are used in an auto-reversing transition in a Sequence effect that has multiple child effects.


      The underlying problem is that Sequence mistakenly re-plays effect instances that are already playing. This causes a problem with these 2 effects specifically because the depend on an internal variable that is reset when the effect instance ends. When the instance is double-played, the variable is reset while the other animation is still running for the instance and we end up setting an invalid null value for some target's filters property.

      The quick fix here is simply the RTE protection for the Wipe/CrossFade effects - it notices when it is being asked to replayed and noops that operation (essentially working around the buggy Sequence behavior). It also protects against bad filters values, just in case.


      QE notes: None

      Doc notes: None

      Bugs: sdk-25234

      Reviewer: Jason

      Tests run: Mustella transition-shader effects , checkintests, bug test app

      Is noteworthy for integration: No


      Ticket Links:




      Modified Paths:


          flex/sdk/branches/4.0.0/frameworks/projects/spark/src/spark/effects/supportClasses/Animat eTransitionShaderInstance.as