# Display/load system fonts inside a COMBOBOX in AS3

**URL:** <https://forum.kirupa.com/t/display-load-system-fonts-inside-a-combobox-in-as3/310549>\
**Category:** Uncategorized\
**Created:** [June 13, 2010, 8:42am UTC](https://forum.kirupa.com/t/display-load-system-fonts-inside-a-combobox-in-as3/310549 "2010-06-13T08:42:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![avi0007](https://avatars.discourse-cdn.com/v4/letter/a/9de053/32.png) [@avi0007](https://forum.kirupa.com/u/avi0007)\
**Post date:** [June 13, 2010, 8:42am UTC](https://forum.kirupa.com/t/display-load-system-fonts-inside-a-combobox-in-as3/310549/1 "2010-06-13T08:42:37Z")

</div>

Hi All,

I have asked this question in many forums and is disappointing to see that there are no replies.

Hoping to get a reply, I put this question to fellow AS3 developers on Kirupa forum.

How do we load system fonts inside a comboBox?

I have written code to populate the system fonts and store it in an array.

```
var systemFonts:Array = new Array();
var fontNames:Array =new Array();

systemFonts = Font.enumerateFonts(true);
systemFonts.sortOn("fontName");

for(var i:int = 0; i &lt; systemFonts.length; i++)
{
	fontNames.push(systemFonts*.fontName);
}

```

If myComboBox is the combobox instance, how do I get it to display the fontNames.?

Your help would be highly appreciated.

Regards,

Avi
