0 Replies Latest reply on Mar 10, 2009 1:06 PM by Jason Szeto

    [svn:fx-trunk] 5224: Flex SDK Bug Fixes

    Jason Szeto Level 3
      Revision: 5224
      Author: jszeto@adobe.com
      Date: 2009-03-10 14:06:53 -0700 (Tue, 10 Mar 2009)

      Log Message:
      -----------
      Flex SDK Bug Fixes

      SDK-19772 Initially invisible graphic element can not be made visible

      When visible is false, we were both setting the displayObject invisible and not drawing the graphics. When visible was then set to true, we changed the displayObject visibility, but didn't draw the graphics. The fix is to always draw the graphics when we are not sharing our displayObject. This way we simply toggle visibility on the displayObject on/off, instead of having to perform a redraw.

      SDK-19581 BitmapFill incorrectly handle source property

      Updated code to match code in BitmapGraphic. If the source is a class, we still need to check the type of the newly instantiated instance of that class.

      SDK-19085 unexpected behaviour when setting scaleX < 3 on a LinearGradient

      Internally, we no longer allow scaleX to be less than 2. Visually, this shouldn't have much impact.

      QE Notes: n/a
      Doc Notes: n/a
      Bugs: SDK-19772, SDK-19581, SDK-19085
      Reviewer: Evtim, Chet

      Ticket Links:
      ------------
      http://bugs.adobe.com/jira/browse/SDK-19772
      http://bugs.adobe.com/jira/browse/SDK-19581
      http://bugs.adobe.com/jira/browse/SDK-19085
      http://bugs.adobe.com/jira/browse/SDK-19772
      http://bugs.adobe.com/jira/browse/SDK-19581
      http://bugs.adobe.com/jira/browse/SDK-19085

      Modified Paths:
      --------------
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/BitmapGraphic.as
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/baseClasses/GraphicElement.as
      flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/BitmapFill.as
      flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/LinearGradient.as