0 Replies Latest reply on Sep 30, 2009 10:43 AM by Peter Farland

    [svn:fx-trunk] 10739: Add support for FXG alpha masks in static (optimized) FXG.

    Peter Farland Level 3

      Revision: 10739

      Author:   pfarland@adobe.com

      Date:     2009-09-30 09:43:16 -0700 (Wed, 30 Sep 2009)

       

      Log Message:

      ***********

      Add support for FXG alpha masks in static (optimized) FXG. This requires ActionScript generation as alpha masking is only supported in Flash when the maskee has cacheAsBitmap set to true and has its mask property assigned programmatically in ActionScript (and the mask needs to be a sprite already on the display list).

       

      Also removing unnecessary complexity in ActionScript code generation for FXG text.

       

      QE notes: Yes, please add alpha mask test cases for ) scenarios, including when multiple siblings are being masked.

      Doc notes: N/A

      Reviewer: Corey

      Tests run: checkintests, mustella fxg

      Is noteworthy for integration: No, though we will need FXGUtils to take back the small addition to MaskingNode interface and the two implementations in GroupNode and PlaceObjectNode.

      Bugs:

      SDK-21949 - FXGUtils:masktype set to alpha doesn't work.

       

      Ticket Links:

      ************

          http://bugs.adobe.com/jira/browse/SDK-21949

       

      Modified Paths:

      **************

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/fxg/FlexFXG2SWFTranscoder.java

          flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/GroupNode.java

          flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/MaskingNode.java

          flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/PlaceObjectNode.java