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

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

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


import spark.components.supportClasses.Slider;
import mx.core.ILayoutElement;

[IconFile("HSlider.png")]

