     // Methods
     //
     //--------------------------------------------------------------------------
-    
+
     /**
      *  @private
      */

import flash.display.DisplayObject;
import flash.geom.Point;
import flash.geom.Rectangle;

import spark.components.supportClasses.Slider;


    {
        if (!thumb || !track)
            return 0;

        var range:Number = maximum - minimum;
        var thumbRange:Number = track.getLayoutBoundsWidth() - thumb.getLayoutBoundsWidth();
        return minimum + ((thumbRange != 0) ? (x / thumbRange) * range : 0); 
    }

    /**
     *  @private
     */
