# Combo Box with Icons

**URL:** <https://forum.kirupa.com/t/combo-box-with-icons/288761>\
**Category:** flash\
**Created:** [May 20, 2009, 5:35pm UTC](https://forum.kirupa.com/t/combo-box-with-icons/288761 "2009-05-20T17:35:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Panguino](https://avatars.discourse-cdn.com/v4/letter/p/5fc32e/32.png) [@Panguino](https://forum.kirupa.com/u/Panguino)\
**Post date:** [May 20, 2009, 5:35pm UTC](https://forum.kirupa.com/t/combo-box-with-icons/288761/1 "2009-05-20T17:35:15Z")

</div>

I have a combobox that displays images(movieclips) in the dropdown part, but when you select one of the options. the icon/movieclip/image does not show up in the active area.

Any suggestions?

```auto

var cb:ComboBox = new ComboBox();
addChild(cb);
cb.x = 150;
cb.y = 10;
cb.height = 25;
cb.width = 130;

cb.addItem( { icon:new blue_mc()} );
cb.addItem( { icon:new yellow_mc()} );
cb.addItem( { icon:new green_mc()} );
cb.addItem( { icon:new red_mc()} );

```

the mc’s are linked in my library.

Thanks,
