      */
     override protected function get trackSize():Number
     {
-        return track ? LayoutElementFactory.getLayoutElementFor(track).getLayoutBoundsWidth() : 0;
+        return track ? track.getLayoutBoundsWidth() : 0;
     }
 
     /**

    {
        if (thumb)
        {
            var thumbLElement:ILayoutElement = 
                LayoutElementFactory.getLayoutElementFor(thumb);

            var trackLElement:ILayoutElement = 
                LayoutElementFactory.getLayoutElementFor(track);
            var trackPos:Number = trackLElement.getLayoutBoundsX();

            thumbLElement.setLayoutBoundsPosition(Math.round(trackPos + thumbPos),
                                                  thumbLElement.getLayoutBoundsY());
        }
    }
    

     */
    override protected function calculateThumbSize():Number
    {
        return thumb.getLayoutBoundsWidth();
    }

    //--------------------------------------------------------------------------
