I am using Flex to create a small form. All I have at the moment is a List component, that I want to populate with a list of font names.
I am getting the fonts using Font.enumerateFonts(true);. This returns an array of flash.text.Font objects.
The Font objects have a fontName property that is a String of that fonts name.
My problem is that I can't figure out how to bind the List's dataProvider to the fontName property of each of the Font objects in the Array.
Is there a way to do this just with binding? and not creating a new array of Strings by looping through the Font objects?