# Changing Style of a "Combo/Scrollbox" in Flash MX

**URL:** <https://forum.kirupa.com/t/changing-style-of-a-combo-scrollbox-in-flash-mx/10367>\
**Category:** flash\
**Created:** [December 30, 2002, 3:43pm UTC](https://forum.kirupa.com/t/changing-style-of-a-combo-scrollbox-in-flash-mx/10367 "2002-12-30T15:43:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Merano](https://avatars.discourse-cdn.com/v4/letter/m/439d5e/32.png) [@Merano](https://forum.kirupa.com/u/Merano)\
**Post date:** [December 30, 2002, 3:43pm UTC](https://forum.kirupa.com/t/changing-style-of-a-combo-scrollbox-in-flash-mx/10367/1 "2002-12-30T15:43:09Z")

</div>

Help!

I hope someone knows a solution for my problem :sigh:

I have a Flash Scene with a black background.  
Into that scene, I inserted a standard “Combobox” from  
the Flash component menu.

As I want to have a black background in the Combobox, too  
and also white text instead of black text, I wrote an action-  
script to customize my combobox (I gave it the instance name “splashesscroll”).

Voilà:

splashesscroll.setStyleProperty(“arrow”, 0xFFFFFF);  
splashesscroll.setStyleProperty(“background”, 0x000000);  
splashesscroll.setStyleProperty(“backgroundDisabled”, 0x000000);  
splashesscroll.setStyleProperty(“scrollTrack”, 0x000000);  
splashesscroll.setStyleProperty(“textColor”, 0xFFFFFF);  
splashesscroll.setStyleProperty(“textSelected”, 0xFF0000);  
splashesscroll.setStyleProperty(“selection”, 0x000000);  
splashesscroll.setStyleProperty(“highlight3D”, 0x000000);  
splashesscroll.setStyleProperty(“highlight”, 0x000000);  
splashesscroll.setStyleProperty(“face”, 0x000000);  
splashesscroll.setStyleProperty(“darkshadow”, 0x000000);  
splashesscroll.setStyleProperty(“shadow”, 0x000000);  
splashesscroll.setStyleProperty(“foregroundDisabled”, 0x000000);  
splashesscroll.setStyleProperty(“textSize”, 10);

That far, all looks right. The only problem is that there is  
still a small white border around my combobox which I just can’t  
get rid of!! ☹

Does anyone know what I have to add to my actionscript to  
have that border changed to black?

I already consulted the flash help and also other flash sites,  
but upto now, I couldn’t find any solution.

Thank you very much in advance  
and may all of you have a wonderful start in 2003!!

Cheers from Munich  
:cowboy:
