This content has been marked as final. Show 4 replies
Do not bind directly to lastResult. There are many reasons and this is one.
Instead, use a result handler function. In that function, use an e4x expression to get the nodes you want, then assign that XMLList to the Repeater's dataProvider.
I'm pretty new to Flex, and have no idea what an e4 expression is. Can you go into a bit more detail and/or give me an example of what mine will look like? Thanks again.
This, "lastResult.gallery.automotive" is an e4x expression. An "e4x expression" is just the way you specify a node list in AS3's XML class.
How are you getting your data? HTTPService? Can you set up a result handler?
when I get to my other machine I will post some example code.
Yeah I'm using HTTPService
<mx:HTTPService id="myXML" url="../assets/pictures/pictures.xml"/>
If you want, I can send you the .zip to your email?