Packagemx.controls
Classpublic class HSlider
InheritanceHSlider Inheritance mx.controls.sliderClasses.Slider
SubclassesAudioVolumeSlider, AutoplayDelaySlider, PagingControlSizer

The HSlider control lets users select a value by moving a slider thumb between the end points of the slider track. The current value of the slider is determined by the relative location of the thumb between the end points of the slider, corresponding to the slider's minimum and maximum values.

The slider may allow a continuous range of values between its minimum and maximum values or it may be restricted to values at specific intervals between the minimum and maximum value. It may show tick marks at specified intervals along the track. These tick marks are independent of the allowed values of the slider. The slider may also use a data tip to display its current value.

The HSlider control has a horizontal direction. The slider track stretches from left to right, and the labels and tick marks are placed at the top or bottom of the track.

The HSlider control has the following default characteristics:

Characteristic Description
Default size 250 pixels wide, high enough to hold the slider and any associated labels
Minimum size None
Maximum size None

MXML Syntaxexpanded Hide MXML Syntax

The <mx:HSlider> tag inherits all of the tag attributes of its superclass, and adds the following tag attribute:

  <mx:HSlider
    Styles
    dataTipPlacement="top"
  />
  

See also

mx.controls.VSlider
mx.controls.sliderClasses.Slider
mx.controls.sliderClasses.SliderThumb
mx.controls.sliderClasses.SliderDataTip
mx.controls.sliderClasses.SliderLabel


Public Methods
 MethodDefined by
  
Constructor.
HSlider
Styles
 StyleDescriptionDefined by
  
dataTipPlacement
Type: String   CSS Inheritance: no
The location of the data tip relative to the thumb. Possible values are "left", "right", "top", and "bottom". The default value is "top".
HSlider
Constructor detail
HSlider()constructor
public function HSlider()

Constructor.