# I want a scrollbar that appears only when i need it!

**URL:** https://forum.kirupa.com/t/i-want-a-scrollbar-that-appears-only-when-i-need-it/62572
**Category:** flash
**Created:** [August 29, 2004, 1:38pm UTC](https://forum.kirupa.com/t/i-want-a-scrollbar-that-appears-only-when-i-need-it/62572 "2004-08-29T13:38:27Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![tajmahal](https://avatars.discourse-cdn.com/v4/letter/t/cdc98d/32.png) [@tajmahal](https://forum.kirupa.com/u/tajmahal)
#### Post date: [August 29, 2004, 1:38pm UTC](https://forum.kirupa.com/t/i-want-a-scrollbar-that-appears-only-when-i-need-it/62572/1 "2004-08-29T13:38:27Z")

</div>

Hi,  
this is my first post so forgive any quirks in my writing style. I want to know if there is any way to customize the scrollbar component in flash mx. More specifically, I only want the scrollbar to appear in a text box when i click a certain button. Then when i click another button, i want the scrollbar to disapear from the textbox. I’m sure that there is some sort of AS voodoo-magic that can achieve this, but unfortunately, im not that high-tech. If it makes any difference, i’ll tell you guys that I am dynamically loading the text box content from external txt files. i would appreciate any insight that you flash gurus out there could give me on this matter. Thanks!

PS. im sorry if this topic is posted somewhere else…i looked but i didn’t find.

---

<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 29, 2004, 3:27pm UTC](https://forum.kirupa.com/t/i-want-a-scrollbar-that-appears-only-when-i-need-it/62572/2 "2004-08-29T15:27:44Z")

</div>

Do you want it to appear based on whether or not it’s necessary? there’s a way to do that. I’ll have to look it up for you. otherwise, give your scrollbar an instance name and set’s it’s visibility to false…

i’ll see if i can find the AS for you

---

<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 29, 2004, 3:33pm UTC](https://forum.kirupa.com/t/i-want-a-scrollbar-that-appears-only-when-i-need-it/62572/3 "2004-08-29T15:33:46Z")

</div>

yah i think it would be perfect if you can find something that makes the scrollbar show up only when i need it. Also, is there anyway to change its colors and such? Thanks!

---

<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 29, 2004, 3:45pm UTC](https://forum.kirupa.com/t/i-want-a-scrollbar-that-appears-only-when-i-need-it/62572/4 "2004-08-29T15:45:20Z")

</div>

here you go:

---

<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 29, 2004, 3:46pm UTC](https://forum.kirupa.com/t/i-want-a-scrollbar-that-appears-only-when-i-need-it/62572/5 "2004-08-29T15:46:38Z")

</div>

you can change the colours using as, but you can just rightclick-\>edit on the scrolls and edit all of the colours in the instances within the scrollbar.

---

<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 29, 2004, 5:07pm UTC](https://forum.kirupa.com/t/i-want-a-scrollbar-that-appears-only-when-i-need-it/62572/6 "2004-08-29T17:07:07Z")

</div>

[http://www.actionscript.org](http://www.actionscript.org)
