     }
 }
 
-}+}

        {
            setValue(currValue)
            dispatchEvent(new Event("change"));
        }
        
        event.updateAfterEvent();

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

    private var currValue:Number;
    
	private var dataFormatter:NumberFormatter;

    //--------------------------------------------------------------------------
    //
    // Properties
    //
    //-------------------------------------------------------------------------- 	

	/**
	 *  The dataTip instance used by subclasses to control its behavior. The instance
	 *  is non-null only when the dataTip has been popped up.
	 */
	protected var dataTipInstance:IDataRenderer;

	//--------------------------------- 
    // dataTipformatFunction
    //---------------------------------

	private var _dataTipFormatFunction:Function;
	
	 /**
     *  Callback function that formats the data tip text.
     *  The function takes a single Number as an argument
     *  and returns a formatted String.
     *
     *  <p>The function has the following signature:</p>
     *  <pre>
     *  funcName(value:Number):Object
     *  </pre>
     *
     *  <p>The following example prefixes the data tip text with a dollar sign and 
     *  formats the text using the <code>dataTipPrecision</code> 
     *  of a FxSlider Control named 'slide': </p>
     *
     *  <pre>
     *  import mx.formatters.NumberBase;
     *  function myDataTipFormatter(value:Number):Object { 
     *      var dataFormatter:NumberBase = new NumberBase(".", ",", ".", ""); 
     *      return   "$ " + dataFormatter.formatPrecision(String(value), slide.dataTipPrecision); 
     *  }
     *  </pre>
     *
     *  @default undefined   
     */
	public function set dataTipFormatFunction(value:Function):void
	{
		_dataTipFormatFunction = value;
	}
	
	public function get dataTipFormatFunction():Function
	{
		return _dataTipFormatFunction;
	}
	
	/**
	 *  Starting position of the dataTip. Used by subclasses to 
	 *  position the dataTip. 
	 */
	protected var dataTipOriginalPosition:Point;
	
	//--------------------------------- 
    // dataTipPrecision
    //---------------------------------
    /**
	 *  Number of decimal places to use for the data tip text.
	 *  A value of 0 means to round all values to an integer.
	 *  This value is ignored if dataTipFormatFunction is defined.
	 * 
	 *  @default 2
	 */
    public var dataTipPrecision:int = 2;
    
    //--------------------------------- 
    // liveDragging
