coimbras
07-24-2009, 06:00 PM
Hello to all
I´m giving my fist steps in Flex.
And created one easy aplication , the begining one , of binding a arraycollection of a HttpRequest to a Tile List and then displaying it.
The problem is that the data property used to get the info from the arraycollection object is not working. Every place I read I get that the data is the way to refer to object info. Is that any change in the new flex framework. What I'm doing wrong. Please give me some feed back
<mx:TileList x="0" y="40" width="100%" height="100%" dataProvider="{photoFeed}">
<mx:itemRenderer>
<fx:Component>
<s:VGroup width="125" height="125" gap="5">
<mx:Image width="75" height="75" source="{data.thumbnail.url}" />
<s:SimpleText text="{data.credit}" />
</s:VGroup>
</fx:Component>
</mx:itemRenderer>
</mx:TileList>
I´m giving my fist steps in Flex.
And created one easy aplication , the begining one , of binding a arraycollection of a HttpRequest to a Tile List and then displaying it.
The problem is that the data property used to get the info from the arraycollection object is not working. Every place I read I get that the data is the way to refer to object info. Is that any change in the new flex framework. What I'm doing wrong. Please give me some feed back
<mx:TileList x="0" y="40" width="100%" height="100%" dataProvider="{photoFeed}">
<mx:itemRenderer>
<fx:Component>
<s:VGroup width="125" height="125" gap="5">
<mx:Image width="75" height="75" source="{data.thumbnail.url}" />
<s:SimpleText text="{data.credit}" />
</s:VGroup>
</fx:Component>
</mx:itemRenderer>
</mx:TileList>