# \[URGENT\] Custom scrollbar with dynamically loaded scrolling textbox

**URL:** <https://forum.kirupa.com/t/urgent-custom-scrollbar-with-dynamically-loaded-scrolling-textbox/183935>\
**Category:** Uncategorized\
**Created:** [March 31, 2006, 11:27am UTC](https://forum.kirupa.com/t/urgent-custom-scrollbar-with-dynamically-loaded-scrolling-textbox/183935 "2006-03-31T11:27:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ya3](https://avatars.discourse-cdn.com/v4/letter/y/e95f7d/32.png) [@ya3](https://forum.kirupa.com/u/ya3)\
**Post date:** [March 31, 2006, 11:27am UTC](https://forum.kirupa.com/t/urgent-custom-scrollbar-with-dynamically-loaded-scrolling-textbox/183935/1 "2006-03-31T11:27:48Z")

</div>

Looking for an answer really quickly… See the attached sketch.

I’m going to have htmltext loaded into a textbox in Flash from a PHP file.

The text will be loaded into a scrollable textbox, and it will need to scroll using a **custom scrollbar**. This is the part I’m unsure of. Making a custom graphic control the scrolling of a textbox. The textbox is filled with dynamically loaded text, so there’s no knowing how long it’ll be, thus puzzling me as to how you’d script a scrollbar…

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![ya3](https://avatars.discourse-cdn.com/v4/letter/y/e95f7d/32.png) [@ya3](https://forum.kirupa.com/u/ya3)\
**Post date:** [April 1, 2006, 1:09am UTC](https://forum.kirupa.com/t/urgent-custom-scrollbar-with-dynamically-loaded-scrolling-textbox/183935/2 "2006-04-01T01:09:26Z")

</div>

_BUMP_ ☹

---

<div class="post-metadata">

**Author:** ![rhamej](https://avatars.discourse-cdn.com/v4/letter/r/bb73d2/32.png) [@rhamej](https://forum.kirupa.com/u/rhamej)\
**Post date:** [April 1, 2006, 2:28am UTC](https://forum.kirupa.com/t/urgent-custom-scrollbar-with-dynamically-loaded-scrolling-textbox/183935/3 "2006-04-01T02:28:53Z")

</div>

Try this. You can change the scroller to a custom dragger. Play with the numbers to get it to scroll right =)

---

<div class="post-metadata">

**Author:** ![ya3](https://avatars.discourse-cdn.com/v4/letter/y/e95f7d/32.png) [@ya3](https://forum.kirupa.com/u/ya3)\
**Post date:** [April 1, 2006, 2:30am UTC](https://forum.kirupa.com/t/urgent-custom-scrollbar-with-dynamically-loaded-scrolling-textbox/183935/4 "2006-04-01T02:30:19Z")

</div>

Cheers. I’ll try it when I get home 😉

---

<div class="post-metadata">

**Author:** ![rhamej](https://avatars.discourse-cdn.com/v4/letter/r/bb73d2/32.png) [@rhamej](https://forum.kirupa.com/u/rhamej)\
**Post date:** [April 1, 2006, 2:34am UTC](https://forum.kirupa.com/t/urgent-custom-scrollbar-with-dynamically-loaded-scrolling-textbox/183935/5 "2006-04-01T02:34:57Z")

</div>

Let me know if you have any troubles. The code is pretty self explanitory though =)
