Displaying images in a Spark List control in Flex 4
September 21st, 2009
The following example shows how you can display images automatically in a Spark List control in Flex 4 by setting the itemRenderer property to the DefaultComplexItemRenderer class.
Full code after the jump.
<?xml version="1.0" encoding="utf-8"?>
<!– http://blog.flexexamples.com/2009/09/18/displaying-images-in-a-spark-list-control-in-flex-4/ –>
<s:Application name="Spark_List_itemRenderer_DefaultComplexItemRenderer_test"
xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
[...]