|
CustomCellRanderDemo.mxml |
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" <mx:HTTPService id="srv" url="../assets/catalog.xml" useProxy="false"/> <mx:List dataProvider="{srv.lastResult.catalog.product}" height="100%" width="200" </mx:Application> |
Thumbnail.mxml |
<?xml version="1.0" encoding="utf-8"?> <mx:HBox xmlns:mx="http://www.adobe.com/2006/mxml" <mx:CurrencyFormatter id="cf"/> <mx:Image id="img" height="100" width="50" source="../{data.image}"/> <mx:VBox width="100%" paddingTop="0" horizontalGap="4"> </mx:HBox> |