# Need help getting scroller scrollable by keyboard

**URL:** <https://forum.kirupa.com/t/need-help-getting-scroller-scrollable-by-keyboard/300993>\
**Category:** flash\
**Created:** [December 2, 2009, 5:19am UTC](https://forum.kirupa.com/t/need-help-getting-scroller-scrollable-by-keyboard/300993 "2009-12-02T05:19:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jumpsuit1](https://avatars.discourse-cdn.com/v4/letter/j/65b543/32.png) [@jumpsuit1](https://forum.kirupa.com/u/jumpsuit1)\
**Post date:** [December 2, 2009, 5:19am UTC](https://forum.kirupa.com/t/need-help-getting-scroller-scrollable-by-keyboard/300993/1 "2009-12-02T05:19:15Z")

</div>

I’m trying to make the scroller to scroll by pressing the ‘r’ and ‘l’ buttons. Right and left subsequently. Anyway, it doesn’t work. I’ve used a setInterval function but I’m having trouble getting it activated with the listener function set up for the keys.

Any help here is appreciated.

ActionScript Code:

ok, tried to make an edit, but the computer I’m using messed up the format of the code, I’ll be back later to post the original code when I get back to my regular computer. Anyway, there might be enough info below to figure it out.
