         // array is returned. Consider reversed HSliders or VSliders.
         var prevValue:Number = this.value;
         var newValue:Number;
-        var stopPropagation:Boolean = false;
         
         switch (event.keyCode)
         {

            {
                newValue = nearestValidValue(pendingValue - stepSize, snapInterval);
                setValue(newValue);
                stopPropagation = true;
                break;
            }


            {
                newValue = nearestValidValue(pendingValue + stepSize, snapInterval);
                setValue(newValue);
                event.preventDefault();
                break;
            }
            
            case Keyboard.HOME:
            {
                value = minimum;
                event.preventDefault();
                break;
            }

            case Keyboard.END:
            {
                value = maximum;
                event.preventDefault();
                break;
            }
        }

        if (value != prevValue)
            dispatchEvent(new Event(Event.CHANGE));

    }

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