Mega Code Archive

 
Categories / Flex / Data Model
 

Populating dataProvider by using the mx

" src="http://www.rntsoft.com/Code/FlexImages/populatingdataProviderbyusingthemxdataProvider.PNG"            <?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>