# Scrollpane - The supplied index is out of bounds

**URL:** https://forum.kirupa.com/t/scrollpane-the-supplied-index-is-out-of-bounds/301905
**Category:** flash
**Created:** [December 17, 2009, 3:51pm UTC](https://forum.kirupa.com/t/scrollpane-the-supplied-index-is-out-of-bounds/301905 "2009-12-17T15:51:47Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![samtherobot](https://avatars.discourse-cdn.com/v4/letter/s/a698b9/32.png) [@samtherobot](https://forum.kirupa.com/u/samtherobot)
#### Post date: [December 17, 2009, 3:51pm UTC](https://forum.kirupa.com/t/scrollpane-the-supplied-index-is-out-of-bounds/301905/1 "2009-12-17T15:51:47Z")

</div>

I can’t seem to figure out why this is happening. I’m adding a bunch of movieclips to a container clip. I then add that to the scrollpane. When I run scrollpane.update() it gives me the error “The supplied index is out of bounds”. From the full error message it looks like it’s happening on the DisplayObjectContainer/getChildAt() which is run in the update() method. Any thoughts why this would be happening? I thought I had it going once but now it’s not again and I can’t figure out what I was doing differently.
