# ConboBox component problem

**URL:** <https://forum.kirupa.com/t/conbobox-component-problem/190881>\
**Category:** flash\
**Created:** [June 15, 2006, 10:47am UTC](https://forum.kirupa.com/t/conbobox-component-problem/190881 "2006-06-15T10:47:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Greggeh](https://avatars.discourse-cdn.com/v4/letter/g/8baadc/32.png) [@Greggeh](https://forum.kirupa.com/u/Greggeh)\
**Post date:** [June 15, 2006, 10:47am UTC](https://forum.kirupa.com/t/conbobox-component-problem/190881/1 "2006-06-15T10:47:19Z")

</div>

Ok so i made this website and it has 3 comboboxes in the “Contact” section.  
(contact.swf which contains the form is loaded in an empty MC)

I altered the style of the boxes using this;

```auto
function setNewStyle() {
    for (var i = 1; i<4; i++) {
        var myL:MovieClip = this["myList"+i];
        myL.setStyle("color", "0x666666");
        myL.setStyle("embedFonts ", true);
        myL.setStyle("backgroundColor", "0xffffff");
        myL.setStyle("borderStyle", "default");
        myL.setStyle("fontFamily", "Copy 08_55");
        myL.setStyle("fontSize", 8);
        myL.setStyle("openEasing", mx.transitions.easing.Strong.easeOut);
        myL.setStyle("selectionColor", 0xFFFFFF);
        myL.setStyle("textSelectedColor", 0x666666);
        myL.setStyle("rollOverColor", 0xFFF9F90);
    }
}
setNewStyle();

```

Now the problem is if you select an item from the combobox this ugly outlined green square is there where the content of the box was. And I cant seem to get rid of it. Anyone has an idea of solving this problem ?

[http://grede.nl/other/19negentien/splash.html](http://grede.nl/other/19negentien/splash.html)

\*note  
if I open the contact.swf file it works without the ugly green outlines  
[http://grede.nl/other/19negentien/contact.swf](http://grede.nl/other/19negentien/contact.swf)

havent tested it on Mac platform yet, but its anyways a problem in IE and FF

\*EDIT

it even occurs when i havent styled the comboboxes. So I asume the problem is that the boxes are loaded in an empty MC.

Not a clue how to solve this though. any help ?
