Question

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..

Was it helpful?

Solution

<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
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top