# Customizing combobox scrollbar!?

**URL:** <https://forum.kirupa.com/t/customizing-combobox-scrollbar/187019>\
**Category:** Uncategorized\
**Created:** [April 26, 2006, 2:38am UTC](https://forum.kirupa.com/t/customizing-combobox-scrollbar/187019 "2006-04-26T02:38:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hondo311](https://avatars.discourse-cdn.com/v4/letter/h/6a8cbe/32.png) [@hondo311](https://forum.kirupa.com/u/hondo311)\
**Post date:** [April 26, 2006, 2:38am UTC](https://forum.kirupa.com/t/customizing-combobox-scrollbar/187019/1 "2006-04-26T02:38:08Z")

</div>

i’m at a loss . . . i searched and searched . . . any help would be cool!

in flash 8, i have a combo box component with instance name “gallery\_cb” that i’ve customized a bit with setStyle.

## acionscript on the first frame of the movie (and NOT on the component) is:

import mx.styles.CSSStyleDeclaration;

var new\_style:Object = new CSSStyleDeclaration();  
\_global.styles.myStyle = new\_style;

new\_style.setStyle(“textAlign”, “left”);  
new\_style.setStyle(“selectionColor”, “0xAAAAAA”);  
new\_style.setStyle(“useRollOver”, true);  
new\_style.setStyle(“rollOverColor”, “0xAAAAAA”);  
new\_style.setStyle(“backgroundColor”,“0x333333”);  
new\_style.setStyle(“color”,“0xE9E9E9”);

## // borderStyle from RectBorder class new\_style.setStyle(“borderStyle”, “none”); gallery\_cb.setStyle(“styleName”, “myStyle”);

i’d LOVE to at least change the color of the combobox scrollbar components and at most edit the scrollbar images themselves, but i can’t seem to figure it out. i’ve read a LOT of skinning and style tutorials and now i am even more confused than before . . . any suggestions?

peace,

hondo311
