0 Replies Latest reply on Sep 21, 2009 3:11 PM by Chet Haase

    [svn:fx-gumbo_beta2] 10472: Fix for Fade bug.

    Chet Haase Level 3

      Revision: 10472

      Author:   chaase@adobe.com

      Date:     2009-09-21 15:11:11 -0700 (Mon, 21 Sep 2009)

       

      Log Message:

      ***********

      Fix for Fade bug. Previously, Fade assumed that any target object with a 'parent' must be a child of that container. However, a target object can also be the 'mask' property of that parent. When Fade went to query which element the mask was on the parent, the parent threw an RTE because its element list did not contain that target object. The fix was to special-case the mask situation and return 'undefined' for the index value, meaning that the object does not have a parent and will not be tracked as an element that can be removed/added.

       

      QE notes: None

      Doc notes: None

      Bugs: SDK-23327

      Reviewer: Jason

      Tests run: checkintests, Mustella effects/Fade, manual tests

      Is noteworthy for integration: Yes

       

      Ticket Links:

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

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

       

      Modified Paths:

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

          flex/sdk/branches/gumbo_beta2/frameworks/projects/spark/src/spark/effects/Fade.as