Again the MXML Itemrenderer code, now including the missing <fx:Script> code:
<js:MXMLItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:js="library://ns.apache.org/royale/basic" xmlns:j="library://ns.apache.org/royale/jewel" xmlns:svg="library://ns.apache.org/royale/svg" width="100%" height="36"> <fx:Script> [Bindable] [Bindable] private var placeName:String; [Bindable] private var placeCountry:String; [Bindable] private var placeFlag:String; override public function set data(value:Object):void { super.data = value; placeName = value["name"]; placeCountry = value["country"]; placeFlag = value["flag"]; } </fx:Script> <j:beads> <j:BasicLayout/> <js:ItemRendererDataBinding /> </j:beads> <js:Image src="{'assets\\' + placeFlag + '.png'}" y="6" x="10" height="20" width="30"/> <j:Label text="{placeName}" y="6" x="60" /> <j:Label text="{placeCountry}" y="6" x="180"/> </js:MXMLItemRenderer> -- Sent from: http://apache-royale-users.20374.n8.nabble.com/
