# Customizing Combobox Component

**URL:** <https://forum.kirupa.com/t/customizing-combobox-component/11325>\
**Category:** flash\
**Created:** [January 15, 2003, 4:38pm UTC](https://forum.kirupa.com/t/customizing-combobox-component/11325 "2003-01-15T16:38:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrthad](https://avatars.discourse-cdn.com/v4/letter/a/e480ec/32.png) [@andrthad](https://forum.kirupa.com/u/andrthad)\
**Post date:** [January 15, 2003, 4:38pm UTC](https://forum.kirupa.com/t/customizing-combobox-component/11325/1 "2003-01-15T16:38:06Z")

</div>

Hi,

I was messing around with the Combobox component last night. Pretty sweet component. I was trying to make it a specific size. It seemed to work, however, when I published it the combobox size would change. Is there a way to keep it from changing size?

Also does anybody know of a good thread or tute on how to skin the component through actionscript?

---

<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 16, 2003, 12:32am UTC](https://forum.kirupa.com/t/customizing-combobox-component/11325/2 "2003-01-16T00:32:13Z")

</div>

Did you check the tutes here? :trout:

---

<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 16, 2003, 3:09am UTC](https://forum.kirupa.com/t/customizing-combobox-component/11325/3 "2003-01-16T03:09:56Z")

</div>

Did you search the forums, i posted a while ago a website that let you skin your component, and also an actionscript oriented code to skin your components.

I’ll see if i can get the links of the topics for you.

PS. You can search the forums by pressing on the grey button labeled ‘Search’ below the blue header.

---

<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 16, 2003, 4:39am UTC](https://forum.kirupa.com/t/customizing-combobox-component/11325/4 "2003-01-16T04:39:48Z")

</div>

Hi guys,

Thanks for the replies. I did check the tutes and did a thread search on combobox. Both of you had some great posts, but I didn’t see the answer to my question.

I think I just found it though. See Below. Looks like you can size the width, but cannot control the height, which is what I was having trouble with.

============================================  
FComboBox.setSize

Availability

Flash Player 6.

Usage

myComboBox.setSize(width)

Parameters

width An integer specifying the width of the combo box, in pixels.

Returns

Nothing.

Description

Method; resizes the combo box to the specified width. \<b\>(You cannot set the height of a combo box component.)\</b\> Use this method to programmatically resize the combo box and update it at runtime.

Example

The following code sets or resizes the width of menuMain to 100 pixels.

menuMain.setSize(100);
