One little addition to Tracy's post, when using attribute for labelField, don't forget to add an "@" sign, this is the E4X notation for accessing attribute.


Jeremy.


On 7/19/06, Tracy Spratt <[EMAIL PROTECTED]> wrote:

Yes.

 

Assign my_xml to the dataProvider property of the List.

 

Then, depending on the structure of your xml, specify labelField or define a labelFunction.

 

You'll need a more specific question for a more specific answer.

 

Tracy

 


From: [email protected] [mailto: [email protected]] On Behalf Of flexnewbie06
Sent: Tuesday, July 18, 2006 12:35 PM
To: [email protected]
Subject: [flexcoders] importing xml to my flex app

 

Is is possible for me to populate a list in my app with an external XML
doc.

So far, I have the xml doc loaded into XML object in my app using
URLLoader and when I trace my_xml.toString(), my xml doc is in fact
loaded the XML object. I guess my problem from here is how to access
the attributes in my XML object to populate my list???

Does anyone have any experience with this?

thanks
Jenn


__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





YAHOO! GROUPS LINKS




__,_._,___

Reply via email to