How do I set the dataProvider for an <s:List> component to be an XML file?

Posted by Matt Calthrop on Stack Overflow See other posts from Stack Overflow or by Matt Calthrop
Published on 2009-08-12T19:52:50Z Indexed on 2010/05/20 20:00 UTC
Read the original article Hit count: 278

I've got the latest Beta of Adobe Flash Builder 4.

I want to use a <s:List> component, and specify the dataProvider as being an XML file.

However, after loads of research (including looking at doc links off labs.adobe.com), I still can't figure out how to do it.

The XML file will look something like this:

<?xml version="1.0" encoding="ISO-8859-1"?>
<imageList>
    <image location="path/to/file1.jpg" />
    <image location="path/to/file2.jpg" />
    <image location="path/to/file3.jpg" />
</imageList>

© Stack Overflow or respective owner

Related posts about flexbuilder

Related posts about adobe