 		{
 			value = Math.min(value, m_maxValue);
 			value = Math.max(value, m_minValue);
-			m_value = value;
+			m_value = m_allowsTickMarkValuesOnly ? closestTickMarkValueToValue(value) : value;
 			if (!m_isDragging)
 			{
 				applyValue();

			return m_isContinuous;
		}
		
		
		
		/***************************************************************************

		protected var m_dragStartMousePosition:Number;
		protected var m_isDragging:Boolean;
		
		protected var m_allowsTickMarkValuesOnly:Boolean = false;
		protected var m_numTickMarks:int = 2;
		
		
		public function Slider()
		{
		}
		
		
		/***************************************************************************
