# ScrollPane Bug?

**URL:** <https://forum.kirupa.com/t/scrollpane-bug/210963>\
**Category:** flash\
**Created:** [December 24, 2006, 7:40pm UTC](https://forum.kirupa.com/t/scrollpane-bug/210963 "2006-12-24T19:40:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![carlmal](https://avatars.discourse-cdn.com/v4/letter/c/ea666f/32.png) [@carlmal](https://forum.kirupa.com/u/carlmal)\
**Post date:** [December 24, 2006, 7:40pm UTC](https://forum.kirupa.com/t/scrollpane-bug/210963/1 "2006-12-24T19:40:39Z")

</div>

I have a bunch of images that I use as the contentPath for a ScrollPane.

To do so, I have the image file name in a database and use that to construct a URL for the contentPath:

```auto

mtScrollPane_sp.contentPath = "http://someHost/scrns/"+lastElement_xml.childNodes[mcIdx].attributes.APP_SCRN;

```

One of the images has a height larger than that of the ScrollPane. The scroll bar appears, but the image extends beyond the ScrollPane, it even extends beyond the edge of the stage!

see here:  
[http://theonqgroup.com/pub/scrollpanebug.jpg](http://theonqgroup.com/pub/scrollpanebug.jpg)

I’ve tried

```auto

myScrollPane_sp.invalidate();
myScrollPane_sp.redraw(true);

```

Neither made a difference. Is this a bug?

Thanks,  
Carl
