MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference page 1054

Components language reference
Table of Contents

Advertisement

Common workflow for the RDBMSResolver
component
The following steps describe the typical workflow for the RDBMSResolver component.
To use an RDBMSResolver component:
1.
Add two instances of the WebServiceConnector component and one instance of the
DataSet and RDBMSResolver components to your application, and give them
instance names.
2.
Select the first WebServiceConnector component. Then use the Parameters tab of the
Component inspector to enter the Web Service Definition Language (WSDL) URL for a
web service that exposes data from an external data source.
The web service must return an array of records to be bound to the data set.
3.
Use the Bindings tab of the Component inspector to bind the first WebServiceConnector
component's results property to the DataSet component's
4.
Select the DataSet component, and use the Bindings tab of the Component inspector to
bind data elements (DataSet fields) to the visual components in your application.
5.
Bind the DataSet's
property.
The update instructions are sent from the DataSet component to the RDBMSResolver
component when the
6.
Bind the RDBMSResolver
property to send data back to a method that parses the XML update packet. Set the
params
kind of that
params
as soon as data binding copies it over.
7.
Add a trigger to initiate the data binding operation: use the Trigger Data Source behavior
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.
For a step-by-step example that resolves data to a relational database using the
RDBMSResolver component, see the tutorials on DevNet at
devnet/mx/flash/data_integration.html.
1050 RDBMSResolver component (Flash Professional only)
property to the RDBMSResolver's
deltaPacket
DataSet.applyUpdates()
updatePacket
property to auto-trigger so that the connector sends the update packet
dataProvider
method is called.
property to the second WebServiceConnector
http://www.macromedia.com/
property.
deltaPacket

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents