Give a list of color names
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:List width="150"
dataProvider="{['Red','Orange','Yellow','Green','Blue','Indigo','Violet']}" />
</mx:Application>
Related examples in the same category