myDataSet.items = recData;
}
Remoting RecordSet
The following ActionScript example assumes that you're using Flash
Remoting and that you've made a remoting call that returns a RecordSet. The RecordSet object
implements the DataProvider interface. The result is assigned to the
property of
dataProvider
the
component instance:
myDataset
function getSQLData_Result(result) {
myDataset.dataProvider = result;
}
Array of objects returned from a web service
The following illustration shows an example of
using the Component inspector to bind an array of objects returned from the web service,
represented by the
instance of the WebServiceConnector component. The illustration on
myWsc
the left shows the schema of the web service. The illustration on the right shows how the
results
array is bound to the
property of the
component instance.
items
myDataset
Data management (Flash Professional only)
283
Need help?
Do you have a question about the FLASH MX 2004-USING FLASH and is the answer not in the manual?
Questions and answers