0 Replies Latest reply on Nov 4, 2008 4:32 PM by Jason Szeto

    [svn] 4019: Fix RTE when using text as a mask

    Jason Szeto Level 3
      Revision: 4019
      Author: jszeto@adobe.com
      Date: 2008-11-04 16:32:57 -0800 (Tue, 04 Nov 2008)

      Log Message:
      Fix RTE when using text as a mask

      SDK-17893 - TextGraphic inside of a mask causes RTE

      When the mask is added, we weren't yet creating the displayObject which the TextGraphic class relies upon. The solution is to call validateProperties on the mask before calling validateSize.

      In addition, the mask wasn't getting applied to the Group because we weren't setting an internal flag.

      QE Notes: Test masking on both Graphic elements and Group.
      Doc Notes: We need to note that if you use TextGraphic as a mask, you must set maskType = "alpha"
      Bugs: SDK-17893
      Reviewer: Glenn

      Ticket Links:

      Modified Paths:
      flex/sdk/branches/gumbo_alpha/frameworks/projects/flex4/src/mx/components/baseClasses/Gro upBase.as
      flex/sdk/branches/gumbo_alpha/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/G raphicElement.as