Mega Code Archive

 
Categories / Flex / Components
 

Use static string list as data for List

<?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">     <mx:List variableRowHeight="true" wordWrap="true" width="220"         height="200">         <mx:dataProvider>             <mx:String>A</mx:String>             <mx:String>B</mx:String>             <mx:String>C</mx:String>         </mx:dataProvider>     </mx:List> </mx:Application>