0 Replies Latest reply on Apr 23, 2010 2:33 PM by kevinklin

    [svn:fx-4.x] 15674: Fix for http://bugs.adobe.com/jira/browse/SDK-26267.

    kevinklin Adobe Employee

      Revision: 15674

      Revision: 15674

      Author:   klin@adobe.com

      Date:     2010-04-23 14:33:18 -0700 (Fri, 23 Apr 2010)

      Log Message:


      Fix for http://bugs.adobe.com/jira/browse/SDK-26267. Embedded assets were depending on AdvancedLayoutFeatures and other framework classes. This caused a simple AS-only swf size to be quite large, and even fail to build in an AS-only project in FB. The fixes are:


      -Softlink FlexVersion using hasDefinition/getDefinition. This gets rid of the dependency on the ResourceManager, which fixes the compile error in FB.

      -Introduce a new interface, IAssetLayoutFeatures, which contains a subset of the API from AdvancedLayoutFeatures only used by the asset classes. AdvancedLayoutFeatures implements this interface. The interface also removes the API dependency on TransformOffsets.

      -We can then softlink AdvancedLayoutFeatures and MatrixUtil to remove that dependency.

      -Use the hardcoded string "ltr" instead of the constant LayoutDirection.LTR to remove the dependency on LayoutDirection.


      All of these fixes bring swf size down to near the original (around 2k more in the reference case).


      QE notes: No

      Doc notes: No

      Bugs: SDK-26267

      Reviewer: Alex, Carol

      Tests run: checkintests, Mirroring

      Is noteworthy for integration: No


      Ticket Links:





      Modified Paths:






      Added Paths: