Arrays of scalar values

When a class has a property that takes an Array as its value, you can represent the property in MXML using child tags. The component in the following example has a dataProvider property that contains an Array of numbers:

<mx:List>
   <mx:dataProvider>
      <mx:Array>
         <mx:Number>94062</mx:Number>
         <mx:Number>14850</mx:Number>
         <mx:Number>53402</mx:Number>
      </mx:Array>
   </mx:dataProvider>
</mx:List>

Version 1.5

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flex/15/flex_docs_en/00000031.htm