# Changing colors of component

**URL:** <https://forum.kirupa.com/t/changing-colors-of-component/202278>\
**Category:** flash\
**Created:** [September 29, 2006, 8:47am UTC](https://forum.kirupa.com/t/changing-colors-of-component/202278 "2006-09-29T08:47:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dkmystery](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/dkmystery/32/2562_2.png) [@dkmystery](https://forum.kirupa.com/u/dkmystery)\
**Post date:** [September 29, 2006, 8:47am UTC](https://forum.kirupa.com/t/changing-colors-of-component/202278/1 "2006-09-29T08:47:25Z")

</div>

Hi there,  
i am using flash8. could someone tell me how to change the original green… colors on the component to something that i want. i have tried:  
\_global.styles.ComboBox.setStyle(“backgroundColor”,“0x003366”);  
and it successfully changes the color of the combo, but what abut other compos? and where can i find a list for the attributes (“backgroundcolor” …)?  
Is there a way to also change the width of the scrollbars that come up?  
i tried the ‘halotheme.fla’ and also modified it but i’m not able to achieve what i want. I’m attaching a snapshot of what i want.  
I also tried:  
this.createClassObject(mx.controls.UIScrollBar, “my\_sb”, 20);  
my\_sb.setStyle(“themeColor”, “0X b0b2b3”);  
where,  
‘my\_sb’ is the Instance name of my ‘UIScrollbar component’.  
this successfully changes the color a bit. But, i want exactly the same as the img attached.  
Could u guide me as to how 2 do it?
