I changed the xml file path in my example, you may possibly need to change it back.
Paul ----- Original Message ----- From: "Paul Andrews" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Friday, January 18, 2008 10:26 AM Subject: Re: [flexcoders] Re: Dataprovider for list > > ----- Original Message ----- > From: "flex2_4me" <[EMAIL PROTECTED]> > To: <[email protected]> > Sent: Friday, January 18, 2008 9:44 AM > Subject: [flexcoders] Re: Dataprovider for list > > >> Hi Paul, >> ===================================================== >> The MXML file is as follows >> ===================================================== >> <?xml version="1.0" encoding="utf-8"?> >> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" >> layout="absolute" creationComplete="userRequest.send()"> >> <mx:HTTPService id="userRequest" url="../src/data.xml" /> >> >> <mx:List id="aa" >> dataProvider="{userRequest.lastResult.root.food.categoryitem.item1}" >> x="10" y="25"/> >> >> </mx:Application> > > Here you go: > > <?xml version="1.0" encoding="utf-8"?> > <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" > layout="absolute" creationComplete="userRequest.send()"> > <mx:HTTPService id="userRequest" url="data.xml" resultFormat="e4x"/> > <mx:List id="aa" > dataProvider="{userRequest.lastResult.food.categoryitem.item1}" > x="10" y="25"/> > </mx:Application> > > Paul > > > -- > 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 > > > >

