0 Replies Latest reply on Oct 28, 2008 8:30 AM by Ely Greenfield

    [svn] 3930: Step 1 of memory improvements

    Ely Greenfield Level 1
      Revision: 3930
      Author: egreenfi@adobe.com
      Date: 2008-10-28 09:30:24 -0700 (Tue, 28 Oct 2008)

      Log Message:
      -----------
      Step 1 of memory improvements
      GraphicElement now optimizes away its AdvancedLayoutFeatures as long is has a trivial (translation only) transform matrix.
      Added a new OnDemandEventDispatcher class that only allocates memory for event dispatcher functionality when it gets its first listener.
      GraphicElement, OverrideBase, and LayoutBase extend OnDemandEventDispatcher.

      Modified Paths:
      --------------
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.a s
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LayoutBase.as
      flex/sdk/trunk/frameworks/projects/framework/src/FrameworkClasses.as
      flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/LinearGradient.as
      flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/LinearGradientStroke.as
      flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/RadialGradient.as
      flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/RadialGradientStroke.as
      flex/sdk/trunk/frameworks/projects/framework/src/mx/states/OverrideBase.as

      Added Paths:
      -----------
      flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/OnDemandEventDispatcher.as