Common workflow for the RDBMSResolver component
The following steps describe the typical workflow for the RDBMSResolver component.
To use an RDBMSResolver component:
Add two instances of the WebServiceConnector component and one instance of the DataSet
1.
and RDBMSResolver components to your application, and give them instance names.
Select the first WebServiceConnector component. Then use the Parameters tab of the
2.
Component inspector to enter the Web Service Definition Language (WSDL) URL for a web
service that exposes data from an external data source.
Note: The web service must return an array of records to be bound to the data set.
Use the Bindings tab of the Component inspector to bind the first WebServiceConnector
3.
component's results property to the DataSet component's
Select the DataSet component, and use the Bindings tab of the Component inspector to bind
4.
data elements (DataSet fields) to the visual components in your application.
Bind the DataSet's deltaPacket property to the RDBMSResolver's deltaPacket property.
5.
The update instructions are sent from the DataSet component to the RDBMSResolver
component when the
Bind the RDBMSResolver's updatePacket property to the second WebServiceConnector's
6.
params property to send data back to a method that will parse the XML update packet. Set the
kind of that params property to auto-trigger so that the connector will send the update packet
as soon as data binding copies it over.
Add a trigger to initiate the data binding operation: use the Trigger Data Source behavior
7.
attached to a button, or add ActionScript.
In addition to these steps, you can also use the RDBMSResolver component to create bindings to
apply the result packet sent back from the server to the data set.
www.macromedia.com/devnet/mx/flash/
RDBMSResolver class (Flash Professional only)
Inheritance
MovieClip > RDBMSResolver
ActionScript Package Name
The methods, properties, and events of the RDBMSResolver class allow you to connect to a
DataSet component and make changes to external data sources.
Method summary for the RDBMSResolver component
The following table lists the method of the RDBMSResolver class.
Method
RDBMSResolver.addFieldInfo()
638
Chapter 6: Components Dictionary
DataSet.applyUpdates()
data_integration.html.
mx.data.components.RDBMSResolver
Description
Adds a new item to the
setting up an RDBMSResolver component dynamically at
runtime.
dataProvider
method is called.
collection, which is used for
fieldInfo
property.
Need help?
Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?