<?xml version="1.0" encoding="utf-8"?>
<s:ItemRenderer xmlns:fx="/mxml/2009"
xmlns:s="library:///flex/spark"
xmlns:mx="library:///flex/mx"
autoDrawBackground="true">
<s:Group>
<s:layout>
<s:HorizontalLayout paddingLeft="10" paddingTop="10" gap="20" verticalAlign="middle"/>
</s:layout>
<fx:Script>
<![CDATA[
[Embed(source="images/user_superman.png")]
private const imgsource:Class;
private function getImage(data:Object):Object
{
if(data!=null)
{
var img:Image=new Image();
=imgsource;
(img);
}
return null;
}
]]>
</fx:Script>
<s:Image source="{getImage()}"/>
<s:Label text="{}+'***'+{}"/>
</s:Group>
</s:ItemRenderer>