# Changing color of made scroll bar

**URL:** <https://forum.kirupa.com/t/changing-color-of-made-scroll-bar/8446>\
**Category:** Uncategorized\
**Created:** [November 21, 2002, 2:08pm UTC](https://forum.kirupa.com/t/changing-color-of-made-scroll-bar/8446 "2002-11-21T14:08:42Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![blah\_de\_blah](https://avatars.discourse-cdn.com/v4/letter/b/a8b319/32.png) [@blah\_de\_blah](https://forum.kirupa.com/u/blah_de_blah)\
**Post date:** [November 21, 2002, 2:08pm UTC](https://forum.kirupa.com/t/changing-color-of-made-scroll-bar/8446/1 "2002-11-21T14:08:42Z")

</div>

i’ve just finished reading the scrolling dynamically loaded text tutorial and created my own scroll bar in my flash but i was wondering if the color of this could be changed…? or would you have to make the scroll bar through a different way? thx for your help

---

<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:** [November 21, 2002, 2:16pm UTC](https://forum.kirupa.com/t/changing-color-of-made-scroll-bar/8446/2 "2002-11-21T14:16:56Z")

</div>

click on it and look in properties dunno if its there  
if it isnt right click on the scrollbar and click edit then just change the colour of each bit should be pretty self explanitary some of the layers might be locked unlock em and just edit the colour of each bit

-Tom

p.s if u cant do it like that then look in the actionscript and find the hex value e.g. 000000 and change it to ur colour [http://www.html-codes.com](http://www.html-codes.com) i think otherwise search for the site

---

<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:** [November 21, 2002, 2:25pm UTC](https://forum.kirupa.com/t/changing-color-of-made-scroll-bar/8446/3 "2002-11-21T14:25:31Z")

</div>

are you sure that works? i’ve just tried that and i’ve unlocked all layers and tried changing the colors but i can’t seem to get it! ☹

---

<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:** [November 21, 2002, 2:54pm UTC](https://forum.kirupa.com/t/changing-color-of-made-scroll-bar/8446/4 "2002-11-21T14:54:30Z")

</div>

unlock it all and click on the bit u wanna change make sure ur properties are up if it says its a symbol then right click and edit it till it isnt a symbol then in properties u choose the colour

-Tom

---

<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:** [November 21, 2002, 7:03pm UTC](https://forum.kirupa.com/t/changing-color-of-made-scroll-bar/8446/5 "2002-11-21T19:03:50Z")

</div>

Try the building a form with components tutorial by Ilyas. It uses a Flash type of CSS thing where you can change the different colors.

---

<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:** [November 21, 2002, 7:55pm UTC](https://forum.kirupa.com/t/changing-color-of-made-scroll-bar/8446/6 "2002-11-21T19:55:50Z")

</div>

```php
globalStyleFormat.face = 0x3399CC;
globalStyleFormat.shadow = 0x000033;
globalStyleFormat.darkshadow = 0xF2FA5F;
globalStyleFormat.highlight = 0xFFECB5;
globalStyleFormat.textColor = 0xFFFFFF;
globalStyleFormat.textSize = 10;
globalStyleFormat.textBold = true;
globalStyleFormat.applyChanges();

```

You will notice then all your components have the same properties set by the script above.

yours,  
h88

---

<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:** [November 22, 2002, 5:05pm UTC](https://forum.kirupa.com/t/changing-color-of-made-scroll-bar/8446/7 "2002-11-22T17:05:24Z")

</div>

i see…  
so h88 would it be like onClipEvent and then the stuff you said…?  
which one changes the color of the scroll bar? anywayz thx for the help everyone 🙂

---

<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:** [November 22, 2002, 5:07pm UTC](https://forum.kirupa.com/t/changing-color-of-made-scroll-bar/8446/8 "2002-11-22T17:07:44Z")

</div>

You should insert the script above in your \_root (main) timeline, this will change **All** your components color in your movie, so once you set the Hex colors in the script, you’ll find all of them had been changed!

yours,  
h88

---

<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:** [November 22, 2002, 5:10pm UTC](https://forum.kirupa.com/t/changing-color-of-made-scroll-bar/8446/9 "2002-11-22T17:10:55Z")

</div>

sry i’m not too great with AS at the moment so it would be \_root. ??? because after i type the ‘.’ it says i need something after that, so what would that be? thx

---

<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:** [November 22, 2002, 5:12pm UTC](https://forum.kirupa.com/t/changing-color-of-made-scroll-bar/8446/10 "2002-11-22T17:12:54Z")

</div>

Ok, i’ll make an example shortly.

---

<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:** [November 22, 2002, 5:14pm UTC](https://forum.kirupa.com/t/changing-color-of-made-scroll-bar/8446/11 "2002-11-22T17:14:46Z")

</div>

alrite thx =)

---

<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:** [November 22, 2002, 5:21pm UTC](https://forum.kirupa.com/t/changing-color-of-made-scroll-bar/8446/12 "2002-11-22T17:21:22Z")

</div>

Here you go:

Tell me how it goes.

---

<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:** [November 22, 2002, 5:25pm UTC](https://forum.kirupa.com/t/changing-color-of-made-scroll-bar/8446/13 "2002-11-22T17:25:10Z")

</div>

i might be wrong but how come it only has buttons on it and not the scroll stuff? am i looking in the wrong place?

---

<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:** [November 22, 2002, 5:26pm UTC](https://forum.kirupa.com/t/changing-color-of-made-scroll-bar/8446/14 "2002-11-22T17:26:24Z")

</div>

Hehe, u can simply drag a scroll into it, and then test the movie!

---

<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:** [November 22, 2002, 5:30pm UTC](https://forum.kirupa.com/t/changing-color-of-made-scroll-bar/8446/15 "2002-11-22T17:30:49Z")

</div>

ahh i seeee thx very much again 🙂

---

<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:** [November 22, 2002, 5:31pm UTC](https://forum.kirupa.com/t/changing-color-of-made-scroll-bar/8446/16 "2002-11-22T17:31:45Z")

</div>

No problem. 🙂

---

<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:** [November 23, 2002, 1:48am UTC](https://forum.kirupa.com/t/changing-color-of-made-scroll-bar/8446/17 "2002-11-23T01:48:59Z")

</div>

oh yea i was just wondering what  
0xFFECB5;  
the ‘0x’ in those meant…  
the FFECB5 is the color right? do you know where i can find the color codes? thx again

---

<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:** [November 23, 2002, 2:21am UTC](https://forum.kirupa.com/t/changing-color-of-made-scroll-bar/8446/18 "2002-11-23T02:21:02Z")

</div>

you can see the hex code in the color mixer panel.

---

<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:** [November 23, 2002, 2:50am UTC](https://forum.kirupa.com/t/changing-color-of-made-scroll-bar/8446/19 "2002-11-23T02:50:54Z")

</div>

ah yea that was dumb of me…  
do you know what the 0x means then? sry i’m not very good at this at the moment

---

<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:** [November 23, 2002, 2:52am UTC](https://forum.kirupa.com/t/changing-color-of-made-scroll-bar/8446/20 "2002-11-23T02:52:25Z")

</div>

0x is there so Flash can define and convert the hexadecimal value to the color.

[Next page](https://forum.kirupa.com/t/changing-color-of-made-scroll-bar/8446.md?page=2)
