# Update ScrollPane Scrollbars

**URL:** https://forum.kirupa.com/t/update-scrollpane-scrollbars/269377
**Category:** flash
**Created:** [August 26, 2008, 7:31pm UTC](https://forum.kirupa.com/t/update-scrollpane-scrollbars/269377 "2008-08-26T19:31:03Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![defied](https://avatars.discourse-cdn.com/v4/letter/d/c37758/32.png) [@defied](https://forum.kirupa.com/u/defied)
#### Post date: [August 26, 2008, 7:31pm UTC](https://forum.kirupa.com/t/update-scrollpane-scrollbars/269377/1 "2008-08-26T19:31:03Z")

</div>

When I want to move a container inside a ScrollPane the Scrollbars do not get updated.  
For example, when I want to show a part of the container that is normally not visible without scrolling by using container.x -= 100; the scrollbars do not update.

Basically I am looking for a way to scroll a Scrollbar with actionscript.

I have tried:  
container.x -= 100;  
panel.invalidate();  
panel.refreshPane();  
panel.update();

the container moves, but the Scrollbars remain the same… Anyone an idea what I could do?

Thanks
