# How do I change the scroll speed with the scroll pane component?

**URL:** <https://forum.kirupa.com/t/how-do-i-change-the-scroll-speed-with-the-scroll-pane-component/64214>\
**Category:** flash\
**Created:** [September 14, 2004, 7:58am UTC](https://forum.kirupa.com/t/how-do-i-change-the-scroll-speed-with-the-scroll-pane-component/64214 "2004-09-14T07:58:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tony\_Bolero](https://avatars.discourse-cdn.com/v4/letter/t/ecb155/32.png) [@Tony\_Bolero](https://forum.kirupa.com/u/Tony_Bolero)\
**Post date:** [September 14, 2004, 7:58am UTC](https://forum.kirupa.com/t/how-do-i-change-the-scroll-speed-with-the-scroll-pane-component/64214/1 "2004-09-14T07:58:25Z")

</div>

I´m using the Macromedia scroll pane component in Flash MX to build a scrollable map. I want to increase the scroll speed when pushing the down/up arrows. How can I do that?

Cheers

Jonas

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 14, 2004, 9:24am UTC](https://forum.kirupa.com/t/how-do-i-change-the-scroll-speed-with-the-scroll-pane-component/64214/2 "2004-09-14T09:24:51Z")

</div>

```auto
//set Horizontal Scroll Speed
//small scroll speed:
    *scrollpane*.hScrollBar_mc.setSmallScroll(*n*);
//large scroll speed:
    *scrollpane*.hScrollBar_mc.setLargeScroll(*n*);
//
//set Vertical Scroll Speed
//small scroll speed:
    *scrollpane*.vScrollBar_mc.setSmallScroll(*n*);
//large scroll speed:
    *scrollpane*.vScrollBar_mc.setLargeScroll(*n*);

```

hope this helps:
