Custom ItemRenderer Samples forked:0favorite:0lines:30license : MIT License modified : 2009-11-27 15:01:35 Embed Tweet <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"> <mx:XML id="bookData" format="e4x"> <books> <book> <author>Inoue Takehiko</author> <title>Real vol.9</title> <image>http://ecx.images-amazon.com/images/I/51%2BI8lyjDHL._SL500_AA240_.jpg</image> <date>Dec 3, 2004</date> </book> <book> <author>Inoue Takehiko</author> <title>Real vol.8</title> <image>http://ec2.images-amazon.com/images/I/51nU%2Bk9ZioL._SL500_AA240_.jpg</image> <date>Dec 3, 2004</date> </book> </books> </mx:XML> <mx:List dataProvider="{bookData.book}" width="100%" height="100%"> <mx:itemRenderer> <mx:Component> <mx:HBox> <mx:Image width="240" height="240" source="{data.image}" /> <mx:Label text="{data.author}" /> <mx:Label text="{data.title}" /> </mx:HBox> </mx:Component> </mx:itemRenderer> </mx:List> </mx:Application> Code Fullscreen Preview Fullscreen flex itemrenderer