populating dataProvider by using the : dataProvider « Data Model « Flex
- Flex
- Data Model
- dataProvider
populating dataProvider by using the
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:List width="150">
<mx:dataProvider>
<mx:Array>
<mx:String>Red</mx:String>
<mx:String>Orange</mx:String>
<mx:String>Yellow</mx:String>
<mx:String>Green</mx:String>
</mx:Array>
</mx:dataProvider>
</mx:List>
</mx:Application>
Related examples in the same category