# Changing the color of scrollbar

**URL:** https://forum.kirupa.com/t/changing-the-color-of-scrollbar/11060
**Category:** Uncategorized
**Created:** [January 11, 2003, 8:38am UTC](https://forum.kirupa.com/t/changing-the-color-of-scrollbar/11060 "2003-01-11T08:38:16Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![abichap](https://avatars.discourse-cdn.com/v4/letter/a/e68b1a/32.png) [@abichap](https://forum.kirupa.com/u/abichap)
#### Post date: [January 11, 2003, 8:38am UTC](https://forum.kirupa.com/t/changing-the-color-of-scrollbar/11060/1 "2003-01-11T08:38:16Z")

</div>

Hi people. Can anyone tell me how to change the colour of the scrollBar in flash UI components in flash mx? thanx!

---

<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: [January 11, 2003, 8:53am UTC](https://forum.kirupa.com/t/changing-the-color-of-scrollbar/11060/2 "2003-01-11T08:53:32Z")

</div>

I am too lazy to type it again so…

[http://www.kirupaforum.com/showthread.php?s=&threadid=7271](http://www.kirupaforum.com/showthread.php?s=&threadid=7271)

It is about halfway through down to the end of the thread.

---

<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: [January 11, 2003, 8:59am UTC](https://forum.kirupa.com/t/changing-the-color-of-scrollbar/11060/3 "2003-01-11T08:59:05Z")

</div>

or

[http://www.kirupaforum.com/showthread.php?s=&threadid=7271#post41587](http://www.kirupaforum.com/showthread.php?s=&threadid=7271#post41587)

---

<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: [January 11, 2003, 9:00am UTC](https://forum.kirupa.com/t/changing-the-color-of-scrollbar/11060/4 "2003-01-11T09:00:33Z")

</div>

lol.

---

<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: [January 11, 2003, 7:13pm UTC](https://forum.kirupa.com/t/changing-the-color-of-scrollbar/11060/5 "2003-01-11T19:13:47Z")

</div>

erm sorry guys. after viewing it, i still dun get it. what do you mean by add it your frame? i added it to my frame but still couldn’t get the colour to change. can you please help? 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: [January 11, 2003, 7:29pm UTC](https://forum.kirupa.com/t/changing-the-color-of-scrollbar/11060/6 "2003-01-11T19:29:16Z")

</div>

did you give your scrollbar an instance name and target the listener to that like it says in that thread?

---

<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: [January 12, 2003, 4:36am UTC](https://forum.kirupa.com/t/changing-the-color-of-scrollbar/11060/7 "2003-01-12T04:36:46Z")

</div>

yup. i gave my scrollbar an instance name of scrollbar. but i am not sure what u meant by target the listener. sorry i am a newbie

---

<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: [January 12, 2003, 5:06am UTC](https://forum.kirupa.com/t/changing-the-color-of-scrollbar/11060/8 "2003-01-12T05:06:21Z")

</div>

[http://www.macromedia.com/support/flash/action\_scripts/actionscript\_dictionary/actionscript\_dictionary333.html](http://www.macromedia.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary333.html)

There is a whole “tutorial” (dictionary reference) at Macromedia that teaches you about FSStyleFormats (kinda like CSS for flash that allows you to change your component colors). Maybe that will help you out 🙂

[http://www.macromedia.com/support/flash/action\_scripts/actionscript\_dictionary/actionscript\_dictionary333.html](http://www.macromedia.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary333.html)
