0 Replies Latest reply on Jan 6, 2009 2:48 PM by Jason Szeto

    [svn] 4410: FXG Bug Fixes

    Jason Szeto Level 3
      Revision: 4410
      Author: jszeto@adobe.com
      Date: 2009-01-06 14:48:36 -0800 (Tue, 06 Jan 2009)

      Log Message:
      -----------
      FXG Bug Fixes

      SDK-18287 RTE when trying to use databinding with FXG graphic assets

      Added Bindable metadata back to FilledElement.fill and StrokedElement.stroke. These were causing RTEs because databinding was
      attempting to access the fill or stroke before they were created.

      SDK-17650 LinearGradient scaleX attribute doesn't work when linear gradient is rotated

      When scaleX is set, we now honor the value when the gradient is rotated. Graphics.createGradientBox normally tries to "fit" the gradient into the available space when it is rotated.

      SDK-17645 Data binding will not be able to detect assignments to LinearGradient rotation property

      Added Bindable metadata to GradientBase.rotation

      SDK-18293 mx.filters.ColorMatrixFilter matrix property needs to support a comma delimited String of values

      Changed the matrix property from type Array to type Object. The underlying backing variable remains an array. The setter will convert a comma delimited string into an array. The getter will always return an array.

      QE Notes: LinearGradient looks different than before when using scaleX and rotation together. Add tests for ColorMatrixFilter.
      Doc Notes: Need docs for ColorMatrixFilter. Changed behavior of LinearGradient.scaleX and LinearGradient.rotation.
      Bugs: SDK-18287, SDK-17650, SDK-17645, SDK-18293
      Reviewer: Glenn

      Ticket Links:
      ------------
      http://bugs.adobe.com/jira/browse/SDK-18287
      http://bugs.adobe.com/jira/browse/SDK-17650
      http://bugs.adobe.com/jira/browse/SDK-17645
      http://bugs.adobe.com/jira/browse/SDK-18293
      http://bugs.adobe.com/jira/browse/SDK-18287
      http://bugs.adobe.com/jira/browse/SDK-17650
      http://bugs.adobe.com/jira/browse/SDK-17645
      http://bugs.adobe.com/jira/browse/SDK-18293

      Modified Paths:
      --------------
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/ColorMatrixFilter.as
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/FilledElement.as
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/StrokedElement.as
      flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientBase.as
      flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/LinearGradient.as