0 Replies Latest reply on Dec 11, 2009 11:58 AM by Jason Szeto

    [svn:fx-trunk] 12859: Masking bugs

    Jason Szeto Level 3

      Revision: 12859

      Revision: 12859

      Author:   jszeto@adobe.com

      Date:     2009-12-11 11:57:39 -0800 (Fri, 11 Dec 2009)

      Log Message:


      Masking bugs


      SDK-24646 - Masking element on RIchText should inherit the target group's coordinate space

      SDK-24559 - Using a mask with RichText doesn't work if you are using an MX Application


      Fixed masking in RichText. The mask was not properly parented. Since we don't need to fake the parenting chain, we pass a null parent to MaskUtil.applyMask


      Removed mask.parent check from MaskUtil.applyMask. It doesn't need this check.


      Restored the mask initialization order in GraphicElement. Moved the addChild call back before the MaskUtil.applyMatirx call.


      Updated GroupBase to call MaskUtil.applyMask.


      QE notes: None

      Doc notes: None

      Bugs: SDK-24646, SDK-24559

      Reviewer: Ryan

      Tests run: checkintests, group, primitives

      Is noteworthy for integration: No


      Ticket Links:







      Modified Paths:




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