I'm trying to bind XML data to a HorizontalList/Repeater. For
some reason I'm lead to believe that I have to put XML into an
ArrayCollection first, but is this correct? My app is running fine,
but I keep getting Warning messages in Console:
"warning: unable to bind to property 'mm_path' on class 'XML'
(class is not an IEventDispatcher)"
here's my code, any suggestions?: preemptive thank you!
You do not need to put your data into an ArrayCollection. If
you want the benefits of a collection, you can use
XMLListCollection if you want.
Also, XML is bindable directly. That warning is misleading.
What it really means is that you can't bind to "Object" which is
the data type of many properties in fles, such as "data", and
currentItem(repeater). You can fix this by casting/converting the
Object to XML: