# Scrollpane component

**URL:** <https://forum.kirupa.com/t/scrollpane-component/4780>\
**Category:** flash\
**Created:** [August 20, 2002, 9:34am UTC](https://forum.kirupa.com/t/scrollpane-component/4780 "2002-08-20T09:34:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stanley](https://avatars.discourse-cdn.com/v4/letter/s/7ab992/32.png) [@Stanley](https://forum.kirupa.com/u/Stanley)\
**Post date:** [August 20, 2002, 9:34am UTC](https://forum.kirupa.com/t/scrollpane-component/4780/1 "2002-08-20T09:34:22Z")

</div>

Okay, here’s the problem…  
I have text (newsitems) loaded in from a database into a dynamic textfield inside a movieclip-symbol. and each item is loaded into a different duplicate of the movieclip.

If I want to use the scrollpane component to scroll my dynamically created movieclip (with each time a different height) how do I do that?

merci,  
Stanley

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 20, 2002, 3:30pm UTC](https://forum.kirupa.com/t/scrollpane-component/4780/2 "2002-08-20T15:30:36Z")

</div>

maybe i’m wrong but doesn’t the scrollbar component in Flash MX get the bounds for the movieClip each time it loads?

so if you apply the scrollbar to a symbol that contains your dynamic text from the database then it should expand or contract to fit.

here is the scrollbar tutorial from the tutorials section of this site.  
[http://www.kirupa.com/developer/mx/dynamic\_scroller.asp](http://www.kirupa.com/developer/mx/dynamic_scroller.asp)

hope this helps

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 20, 2002, 4:16pm UTC](https://forum.kirupa.com/t/scrollpane-component/4780/3 "2002-08-20T16:16:38Z")

</div>

[http://sometimestanley.solidweb.be/linklist/flashnews\_exp.swf](http://sometimestanley.solidweb.be/linklist/flashnews_exp.swf)

this is a very rough and non-layouted version of what I’m talking about. I already found a solution for my problem (refreshing the scrollpane each time new data gets loaded…). So you see it’s not scrollbars on each textfield that I needed.

I think I don’t really make myself clear here, but thanks alot for making an effort anyway.

Cheers

Stanley
