0 Replies Latest reply on Aug 10, 2009 5:30 PM by Jason Szeto

    [svn:fx-trunk] 9214: Slider Spark Skin for Halo bug fix

    Jason Szeto Level 3

      Revision: 9214

      Author:   jszeto@adobe.com

      Date:     2009-08-10 17:29:45 -0700 (Mon, 10 Aug 2009)

       

      Log Message:

      ***********

      Slider Spark Skin for Halo bug fix

       

      http://bugs.adobe.com/jira/browse/SDK-20191 - Disabled Halo Sliders look bad when using Spark skins

       

      The track and highlight track in Halo Slider were not getting disabled. Usually the skin?\226?\128?\153s state is controlled by its component. But in this situation, we have multiple skins for each of the different parts of the Slider. The thumb part is a button, so the thumb skin has a component associated with it. But the track and highlight track are just added directly to the Slider?\226?\128?\153s displayList.

       

      I added support into Slider to enable/disable the track and highlight track. I also updated the SliderTrackSkin and SliderHighlightTrackSkin to change their state based on the enabled value.

       

      The Halo Slider won't look exactly like the Spark Slider because of the way that Halo and Spark disable their components. In Halo, each of the individual parts is alpha'ed, which means the track will bleed through the thumb.

       

      QE notes: Update disabled Slider tests

      Doc notes: None

      Bugs: SDK-20191

      Reviewer: Glenn

      Tests run: Halo Slider

      Is noteworthy for integration: No

       

      Ticket Links:

      ************

          http://bugs.adobe.com/jira/browse/SDK-20191

          http://bugs.adobe.com/jira/browse/SDK-20191

       

      Modified Paths:

      **************

          flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/sliderClasses/Slider.as

          flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/SliderTrackHighlightSkin .mxml

          flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/SliderTrackSkin.mxml