Change combobox font size in Flash Actionscript
Ever needed to change the font size of a standard Flash ComboBox component? The default size is often too small, especially if your Flash app is embedded at a larger size.
You will need to give it an instance name (e.g. “myCombobox”) and then add the following code:
myCombobox.setStyle("fontSize", 10);
The setStyle method is part of Flash’s V2 component framework and works on all the standard UI components — ComboBox, List, DataGrid, etc. You can use it to change other style properties too, like "fontFamily", "color", and "fontWeight".
If you need to style the dropdown list separately from the main button, you may need to target the dropdown’s internal list component. But for most cases, setStyle on the ComboBox instance is all you need.