# Scrollbar (dynamic scrollbar size)

**URL:** <https://forum.kirupa.com/t/scrollbar-dynamic-scrollbar-size/71397>\
**Category:** flash\
**Created:** [November 24, 2004, 2:46pm UTC](https://forum.kirupa.com/t/scrollbar-dynamic-scrollbar-size/71397 "2004-11-24T14:46:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![roady](https://avatars.discourse-cdn.com/v4/letter/r/cdc98d/32.png) [@roady](https://forum.kirupa.com/u/roady)\
**Post date:** [November 24, 2004, 2:46pm UTC](https://forum.kirupa.com/t/scrollbar-dynamic-scrollbar-size/71397/1 "2004-11-24T14:46:18Z")

</div>

Hi everyone.  
I’m making a scroller that scrolls movieclip (text inside). It works quite good but I want to put the final touch on it.

I want that my scrollbar is dynamic in its size (just as browser scrolls or windows scrolls). Then my biggest programming problem comes up, maths 😱

The values that I have is

- How tall is the area there the text shows.
- How tall is the movieclip that the text is shown in
- How tall is the place there my scrollbar is shown.

Someone thats have an idea how to sort this out :h:
