# Scroll speed formula

**URL:** <https://forum.kirupa.com/t/scroll-speed-formula/167245>\
**Category:** flash\
**Created:** [October 26, 2005, 4:04pm UTC](https://forum.kirupa.com/t/scroll-speed-formula/167245 "2005-10-26T16:04:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Balala](https://avatars.discourse-cdn.com/v4/letter/b/df705f/32.png) [@Balala](https://forum.kirupa.com/u/Balala)\
**Post date:** [October 26, 2005, 4:04pm UTC](https://forum.kirupa.com/t/scroll-speed-formula/167245/1 "2005-10-26T16:04:15Z")

</div>

Hello again!

Im trying to create a formula for an scroll bar. The problem is, bigger the content to be scrolled, lesser the \_y variation of the scroll.

Just see the example:  
[http://www.fonix.com.br/scroll.swf](http://www.fonix.com.br/scroll.swf)

The “LEFT SCROLL”, has a big content, so the arrows (up, down) increase/decrease the bt\_scroll, increasing or decreasing the content \_y.

On the “RIGHT SCROLL”, a small content just do the same thing, but should be bigger the _jump_ of the bt\_scroll to reach the end of content faster.

I cant figure out how to make this formula for any content height.
