Packagecom.dwuser.ss4.pseudoStyleClasses
Classpublic class CustomScrollBar

Holds the style parameters used to customize the slideshow's "normal" scrollbars, which appear on the Caption element and Thumbnails and NumberBar elements if page-based scrolling is disabled. This class does not actually exist for any practical purposes; instead, it is used to document the available CustomScrollBar style values which can be applied in the <styles> section of the XML configuration file.

Note that the CustomScrollBar styles are only applicable if the customizeVScrollBar configuration parameter is set to true (see the FlashSlideshowConfigurationParameters class for more information). When this default customization is enabled, a custom minimalistic skin is applied to all default scrollbars in the slideshow. This class describes the parameters available to customize this skin. Also note that any container can have the customized scrollbar styles overridden by setting the horizontalScrollBarStyleName or verticalScrollBarStyleName parameter.

Style XML Implementation Example:

The following example code goes in the <styles> section of the main <slideshow> holder node in a slideshow XML configuration file.

   <styles>
   ...
      <CustomScrollBar 
         trackColor="#000000"
         trackAlpha="0.2"
         trackRadius="3"
         thumbColor="#FFFFFF"
         thumbAlpha="1.0"
         arrowColor="#FFFFFF"
         arrowAlpha="1.0"
      />
   ...
   </styles>
   

See also

com.dwuser.ss4.core.FlashSlideshowConfigurationParameters


Public Methods
 MethodDefined by
  
CustomScrollBar
Styles
 StyleDescriptionDefined by
  
arrowAlpha
Type: Number   Format: Alpha   CSS Inheritance: no
Specifies the opacity of the scrollbar arrow (the buttons at the ends of the scrollbar). The default value is 1.0.
CustomScrollBar
  
arrowColor
Type: Number   Format: Color   CSS Inheritance: no
Specifies the color of the scrollbar arrow (the buttons at the ends of the scrollbar).

The opacity of the track is specified by the trackAlpha parameter.

The default value is #FFFFFF.
CustomScrollBar
  
thumbAlpha
Type: Number   Format: Alpha   CSS Inheritance: no
Specifies the opacity of the scrollbar thumb (the part that is dragged to scroll). The default value is 1.0.
CustomScrollBar
  
thumbColor
Type: Number   Format: Color   CSS Inheritance: no
Specifies the color of the scrollbar thumb (the part that is dragged to scroll).

The opacity of the thumb is specified by the thumbAlpha parameter.

The default value is #FFFFFF.
CustomScrollBar
  
trackAlpha
Type: Number   Format: Alpha   CSS Inheritance: no
Specifies the opacity of the scrollbar track (the background of the scrollbar). The default value is 0.2.
CustomScrollBar
  
trackColor
Type: Number   Format: Color   CSS Inheritance: no
Specifies the color of the scrollbar track (the background of the scrollbar).

The opacity of the track is specified by the trackAlpha parameter.

The default value is #000000.
CustomScrollBar
  
trackRadius
Type: Number   CSS Inheritance: no
Specifies the roundness of the scrollbar track's corners (the corners of the background of the scrollbar). The default value is 3.
CustomScrollBar
Constructor detail
CustomScrollBar()constructor
public function CustomScrollBar()