Hi Juan You cannot assign a XML as a dataprovider to the list. First of all, you have to convert this XML to an Array Collection which you will pass as a dataprovider to the list.
This will help you in achieving what u want. HTH Regards Gagan Deep 2009/3/30 Juan P. Marsano <[email protected]> > > Hi guys, I need some help with a flex app. I have a php script that > returns an xml like this: > > <users> > <student> > <label>StudentName1</label> > <data>StudentID</data> > </student> > <student> > <label>StudentName2</label> > <data>StudentID</data> > </student>" > </users> > > I have been trying to load this info into a List, so that the list loads > both the label and de data, but I havent had any success. I have also > tried returning from php something like this: > > <users> > <student label="StudentName1" data="1"/> > <student label="StudentName2" data="2"/> > </users> > > To make myself clear, I need to use data from php as a data provider for > a list, so that the list gets both a label and data associated with the > label. > > > Any help? > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---

