Data Model Flex



    xmlns:mx="library://ns.adobe.com/flex/mx"
    xmlns:s="library://ns.adobe.com/flex/spark">
    
        
    

    
         
        public function labelTrace():void { 
        for (var i:int = 0; i < nameLabel.length; i++) 
            trace(nameLabel[i].text); 
        } 
      
    

    
        
            
                
                    Name
                    Price
                    Free Shipping?
                

                
                    Whirlygig
                    5
                    false
                

                
                    Tilty Thingy
                    15
                    true
                

                
                    Really Big Blocks
                    25
                    true
                

            

        
    

    
    
                    startingIndex="1">
            
                                    text="{r.currentItem.name}: ${r.currentItem.price}"
                    width="200" />
                                    text="Free shipping: {r.currentItem.freeship}" />