views:

39

answers:

1

Hi, I want to write the bulk of data into xml file ,the data coming from the backend(mysql) using cgi by httpservice, read the xml file and bind it into list... can anyone send the sample code for this?

Thank's in advance..

A: 
<mx:HTTPService url="backend-url.cgi" id="service"/>
<mx:List dataProvider="{service.lastResult.yourElementName}"/>

You should also

  • Call service.send() from the Application's creationComplete handler
  • Specify the labelField, dataField etc for the List as applicable
Amarghosh