0 Replies Latest reply on Mar 3, 2009 2:50 PM by Jason Szeto

    [svn:fx-trunk] 5155: Fixed GraphicElement masking

    Jason Szeto Level 3
      Revision: 5155
      Author: jszeto@adobe.com
      Date: 2009-03-03 14:50:34 -0800 (Tue, 03 Mar 2009)

      Log Message:
      -----------
      Fixed GraphicElement masking

      SDK-19516 GraphicElement with mask does not draw

      This was broken by Revision 4958 which changed the initialization order for Group.
      - Added in a call to childAdded, which calls createChildren(). This call always should have been there, and it was luck that it worked for the various test cases.
      - Added in a call to trigger a layout pass. This ensures that the initialized property is set to true.

      QE Notes: Need to add a mustella test for GraphicElement mask
      Doc Notes: None
      Bugs: SDK-19516
      Reviewer: Ryan

      Ticket Links:
      ------------
      http://bugs.adobe.com/jira/browse/SDK-19516
      http://bugs.adobe.com/jira/browse/SDK-19516

      Modified Paths:
      --------------
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/baseClasses/GraphicElement.as