0 Replies Latest reply on Feb 16, 2009 6:27 PM by Jason Szeto

    [svn:fx-trunk] 4979: Bug fix for GraphicElement masks

    Jason Szeto Level 3
      Revision: 4979
      Author: jszeto@adobe.com
      Date: 2009-02-16 18:27:22 -0800 (Mon, 16 Feb 2009)

      Log Message:
      -----------
      Bug fix for GraphicElement masks

      SDK-19224 Incorrect drawing after adding a mask to an existing GraphicElement

      The bug occurs when the mask gets added after the GraphicElement has already drawn and gone through a layout pass. Adding an unparented mask requires the GraphicElement to create a drawnDisplayObject and attach it and the mask to the displayObject. When the mask is added later, we need to clear the original displayObject's graphics object.

      QE Notes: Check dynamically adding and removing masks from GraphicElement
      Doc Notes: None
      Bugs: SDK-19224
      Reviewer: Glenn

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

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