# Removing keyboard interaction to Slider component

**URL:** <https://forum.kirupa.com/t/removing-keyboard-interaction-to-slider-component/302671>\
**Category:** flash\
**Created:** [January 5, 2010, 4:19pm UTC](https://forum.kirupa.com/t/removing-keyboard-interaction-to-slider-component/302671 "2010-01-05T16:19:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Khande](https://avatars.discourse-cdn.com/v4/letter/k/c68b51/32.png) [@Khande](https://forum.kirupa.com/u/Khande)\
**Post date:** [January 5, 2010, 4:19pm UTC](https://forum.kirupa.com/t/removing-keyboard-interaction-to-slider-component/302671/1 "2010-01-05T16:19:26Z")

</div>

Hi,

I have used a slider using AS3 and I made it mouseEnabled. I want to operate this slider only with Mouse but when it gets focused, slider is also sensative to keyboard events (arrow keys). I have used following eventListener.

BezierSlider.addEventListener(SliderEvent.THUMB\_DRAG, thumbDragHandler);

Is there a way from where I can disable keyboard input for this slider.

Any help in solving this trouble is greatly appreciated.

Thanks,  
Suyog
