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
dataProvider
property of 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
myWsc
on the left shows the schema of the web service. The illustration on the right shows how the
array is bound to the
property of the
component instance.
results
items
myDataset
Data management (Flash Professional only)
423
Need help?
Do you have a question about the FLASH 8-USING FLASH and is the answer not in the manual?