0 Replies Latest reply on Dec 1, 2008 4:51 PM by Jason Szeto

    [svn] 4211: GraphicElement re-layering optimization and removal of change events

    Jason Szeto Level 3
      Revision: 4211
      Author: jszeto@adobe.com
      Date: 2008-12-01 16:51:56 -0800 (Mon, 01 Dec 2008)

      Log Message:
      -----------
      GraphicElement re-layering optimization and removal of change events

      SDK-18055 Optimize invalidation of layering for GraphicElements

      For the properties that affect whether GraphicElement needs a displayObject, in their setters we add checks to see if we need to recalculate layering.

      SDK-18054 Remove non-critical change events from GraphicElement

      Removed a bunch of change events from properties that only get set programmatically.

      QE Notes: Most change events from GraphicElement and its subclasses have been removed
      Doc Notes:
      Bugs: SDK-18054, SDK-18055
      Reviewer: Glenn

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

      Modified Paths:
      --------------
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/BitmapGraphic.as
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/FilledElement.as
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/Line.as
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/Path.as
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/Rect.as
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/StrokedElement.as
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/TextGraphic.as
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.a s
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/TextGraphicEleme nt.as