0 Replies Latest reply on Aug 14, 2009 2:17 PM by Jason Szeto

    [svn:fx-trunk] 9318: GraphicElement filters bug fix

    Jason Szeto Level 3

      Revision: 9318

      Author:   jszeto@adobe.com

      Date:     2009-08-14 14:17:01 -0700 (Fri, 14 Aug 2009)


      Log Message:


      GraphicElement filters bug fix


      https://bugs.adobe.com/jira/browse/SDK-22683 - GraphicElement filters are not set properly when the filters array is modified directly


      GraphicElement.filters property has been modified to behave the same way as DisplayObject.filters. The getter function always returns a copy of the filters. This prevents the developer from mutating the filters except through the filters setter.


      QE notes: Add tests where the filters property is mutated

      Doc notes: Mention that the getter returns a copy and that using the setter is the only way to change the value

      Bugs: SDK-22683

      Reviewer: Chet

      Tests run: spark/primitives

      Is noteworthy for integration: Yes (tooling should be aware that the getter is returning a copy)


      Ticket Links:





      Modified Paths:


          flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicEleme nt.as