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

**URL:** <https://forum.kirupa.com/t/changing-style-of-a-combo-scrollbox-in-flash-mx/10405>\
**Category:** Uncategorized\
**Created:** [December 31, 2002, 12:37pm UTC](https://forum.kirupa.com/t/changing-style-of-a-combo-scrollbox-in-flash-mx/10405 "2002-12-31T12:37:55Z")\
**Posts on this page:** 4\
**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 31, 2002, 12:37pm UTC](https://forum.kirupa.com/t/changing-style-of-a-combo-scrollbox-in-flash-mx/10405/1 "2002-12-31T12:37:55Z")

</div>

Help!

I hope someone knows a solution for my problem

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:

---

<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:** [December 31, 2002, 12:56pm UTC](https://forum.kirupa.com/t/changing-style-of-a-combo-scrollbox-in-flash-mx/10405/2 "2002-12-31T12:56:11Z")

</div>

open your library and go to

Flash UI Components -\> Component Skins -\> Global Skins

and open FBoundingBox

Theres a line box GROUP in there which you can edit and change to black.

---

<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 1, 2003, 8:39pm UTC](https://forum.kirupa.com/t/changing-style-of-a-combo-scrollbox-in-flash-mx/10405/3 "2003-01-01T20:39:49Z")

</div>

Thanks a lot for your help!

Happy New Year!

Cheers  
Livia=)

---

<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 4, 2003, 12:47am UTC](https://forum.kirupa.com/t/changing-style-of-a-combo-scrollbox-in-flash-mx/10405/4 "2003-01-04T00:47:28Z")

</div>

You can also have a look at this [http://www.kirupa.com/developer/mx/components.asp](http://www.kirupa.com/developer/mx/components.asp) and at the AS dictionary for all the properties that you can set.

pom :cowboy:
