Hoping to figure this out. What I am trying to do is get a result like this (ArrayCollection).
public var expenses:ArrayCollection = new ArrayCollection([ {Expense: "Taxes", Amount: 106976}, {Expense: "Rent", Amount: 147776}, {Expense: "Car", Amount: 79554}, {Expense: "Gas", Amount: 39252}, {Expense: "Food", Amount: 128351} from this XML: <list> <month monthname="Jan-04" income="14000263" average="80052"> <bill name="Taxes" Amount="106976" customers="25670"/> <bill name="Rent" Amount="147776" customers="25670"/> <bill name="Car" Amount="79554" customers="25670"/> <bill name="Gas" Amount="39252" customers="25670"/> <bill name="Food" Amount="128351" customers="25670"/> </month> </list> Then use it to plot data on a piechart. I am pulling the xml in via a httpservice. So I am guessing I need to iterate through the xml and create an arrayCollection of arrays? But I can't figure that out. Then how to use the Expenses:arrayCollection as a piechart dataprovider. Thanks in advance. -- 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 <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/