Yes, mxml alternative would work, but I am trying to use UIComponent for
performance reasons. also I am still doing mx, no Spark.

On Thu, Mar 17, 2016 at 3:38 AM OK <[email protected]> wrote:

> If mxml could be an alternative perhaps you'd would like to try it this?:
>
> <?xml version="1.0" encoding="utf-8"?>
> <s:ItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009";
>                                 xmlns:s="library://ns.adobe.com/flex/spark
> "
>                                 xmlns:mx="library://ns.adobe.com/flex/mx"
>                                 autoDrawBackground="true" width="100%">
>
>         <mx:Text id="myText"
> text="{data.assetPath!=''?data.assetPath:data.path}"/>
>
> </s:ItemRenderer>
>
> Olaf
>
>
>
> --
> View this message in context:
> http://apache-flex-users.2333346.n4.nabble.com/Custom-itemrenderer-doesn-t-show-data-tp12269p12272.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>

Reply via email to