I am calling a webservice with Flex3.0, the result format is specified as e4x.
the event.result shows up as a XMLList when I try and debugg the app. Beyond this I am having a hell of a time parsing this thing. Anyone have some insite? How would I set the dataprovider to these results for a combobox and have the labelField = "MGGenre.Name" and the value = "MGGenre.GenreID" Iv'e tried: //In my script block var comboProvider:XMLList = incomingXML..MGGenre; //In MXML <mx:ComboBox id="genreBox" dataProvider="{comboProvider}" labelField="Name"/> //Then to use the selected value value = XML(genreBox.selectedItem).GenreID; But I get the error: "1120: Access of undefined property comboProvider" I can't figure out what I'm doing wrong, please help... Here is a sample of my data: <GetAudioGenresResponse xmlns="http://MyWebSite.com/Webservices/Serrano2" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <GetAudioGenresResult> <MGGenre> <GenreID>7</GenreID> <Name>BLUES</Name> <Preferred>true</Preferred> <Styles> <MGStyle> <GenreID>7</GenreID> <Name>ACOUSTIC BLUES</Name> <Preferred>true</Preferred> <StyleID>120</StyleID> </MGStyle> <MGStyle> <GenreID>7</GenreID> <Name>BRITISH BLUES</Name> <Preferred>true</Preferred> <StyleID>121</StyleID> </MGStyle> </Styles> </MGGenre> <MGGenre> <GenreID>12</GenreID> <Name>CHILDREN'S</Name> <Preferred>true</Preferred> <Styles> <MGStyle> <GenreID>12</GenreID> <Name>CHILDREN'S FOLK</Name> <Preferred>true</Preferred> <StyleID>202</StyleID> </MGStyle> <MGStyle> <GenreID>12</GenreID> <Name>EDUCATIONAL</Name> <Preferred>true</Preferred> <StyleID>203</StyleID> </MGStyle> <MGStyle> <GenreID>12</GenreID> <Name>FAIRY TALES</Name> <Preferred>true</Preferred> <StyleID>204</StyleID> </MGStyle> </Styles> </MGGenre> </GetAudioGenresResult> <ResultCode>Success</ResultCode> </GetAudioGenresResponse>