Spark components for use with Flex 4.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Spark multiple thumb slider

Introduction post



  • Fixed bug giving thumbs NaN value when min and max are set to same value.
  • Fixed bug where setting minimum and maximum at same time could limit either based on previous minimum/maximum value.
  • Fixed bug where clicking on track in a negative value range would cause null exception.


  • Fixed an issue with VerticalValueLayout which was making the VSlider convenience component run top-to-bottom in terms of min/max rather than vice-versa.


  • Refactored HorizontalValueLayout and VerticalValueLayout into LinearValueLayout. This should enable easy creation of sliders between any two points, not just horizontal and vertical planes.

  • Added element alignment to value layouts, enabling the Slider thumb to be positioned over its value in any way desired. Constants classes provide convenience values for layouts, used by the HSlider and VSlider classes.

  • Renamed ThumbDragEvent to ThumbMouseEvent, and two if its types from BEGIN_DRAG and END_DRAG to PRESS and RELEASE respectively. This was done in order to be more consistent with the core Flex components and to better describe the event.

  • Made ThumbMouseEvents bubble such that event listeners won't need to be added to individual thumbs, but can be listened to on the Slider component.


First version of the multiple thumb spark slider.

To-do list:

  • documentation
  • stepSize or equivalent to handle interval=0 key-movement on thumb.
  • trackHighlight equivalent (between thumbs) skin