0 Replies Latest reply on Jul 7, 2009 5:23 PM by GordonSmith

    [svn:fx-trunk] 8438: Fixed a problem with a TextGraphicElement' s TextLines drifting inside a shared DisplayObject during effects.

    GordonSmith Level 4

      Revision: 8438

      Author:   gosmith@adobe.com

      Date:     2009-07-07 17:23:15 -0700 (Tue, 07 Jul 2009)


      Log Message:


      Fixed a problem with a TextGraphicElement's TextLines drifting inside a shared DisplayObject during effects.


      When drawX or drawY changed, TextGraphicElement used to adjust the x and y positions of the TextLines by the delta in drawX and drawY. But accumulated errors (from rounding-to-twips somewhere?) caused the lines to drift by a noticeable amount. So now when the TextLines are created, TextGraphicElement remembers their original x and y positions in two Vectors, and applies the full drawX/Y each time, avoiding any accumulation errors.


      QE Notes: None

      Doc Notes: None

      Bugs: SDK-21350

      Reviewer: Carol to review


      Ticket Links:




      Modified Paths:




          flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/TextGraphicE lement.as