# Growing Scrollbars help

**URL:** <https://forum.kirupa.com/t/growing-scrollbars-help/257854>\
**Category:** flash\
**Created:** [April 17, 2008, 5:20pm UTC](https://forum.kirupa.com/t/growing-scrollbars-help/257854 "2008-04-17T17:20:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![souled](https://avatars.discourse-cdn.com/v4/letter/s/bbce88/32.png) [@souled](https://forum.kirupa.com/u/souled)\
**Post date:** [April 17, 2008, 5:20pm UTC](https://forum.kirupa.com/t/growing-scrollbars-help/257854/1 "2008-04-17T17:20:17Z")

</div>

So I’m using the brilliant [custom scrollbar tutorial](http://www.kirupa.com/developer/flash8/scrollbar.htm) on Kirupa, and I’m struggling on adapting it when the content’s height changes. Basically whenever the scrollbar’s height changes I use the function

**scrolling** \*\*();

\*\*and that works fine, everything updates. However if you’ve already scrolled down halfway through the page and the content’s height changes, everything will screw up.

[Take a look](http://spamtheweb.com/ul/upload/160408/67163_problem.php)

Obviously I can just reset the content’s height every time I add a new box, I’ve tried it but it’s not what I want. I don’t know how to put the scroll face in the correct position.

Any help? 🙂

Thanks
