That's almost it - but I want the XML to reside in an external file, not in a 
string in the AS3.

Is that easy?

Matt

PS - this may be a duplicate post... I replied already, but haven't seen it 
appear on the Y!group yet.

--- In [email protected], Gautam P <p.gau...@...> wrote:
>
> var imageXML:XML = new XML('<imageList><image 
> location="path/to/image1.jpg"/>'+
> 
> '<image location="path/to/image2.jpg"/></imageList>');
> var s:List = new List();
> s.dataProvider = imageXML.image; // this give a XMLList (e4x expression)
> s.labelfield = "@location"; // to display location in the list. to
> access attribute prefix "@" symbol
> 
> Regards,
> Gautam.
> 


Reply via email to