Data Resolution (Flash Professional Only) - MACROMEDIA FLASH MX 2004-USING FLASH Use Manual

Hide thumbs Also See for FLASH MX 2004-USING FLASH:
Table of Contents

Advertisement

Select the DataGrid component, and click the Bindings tab of the Component inspector.
7.
Click the Add Binding (+) button to add a new binding. Select
8.
Click Bound To, select the DataSet component, and select its
9.
Click Direction and select In.
10.
Save and test the application.
11.
The data contained within the data set appears in the data grid.
The ability to make use of dynamic component properties that are added to the Schema tab at
design time is a special feature of the DataSet component. The DataSet component uses the field
name of these properties to map them to the properties of the object or array of objects. The
settings that are applied to these properties at design time are then used by the data set at runtime.
If you do not create persistent fields for the DataSet component and you bind it to a
WebServiceConnector component or an XMLConnector component that defines a schema, the
DataSet component tries to create the correct fields based on the connector component's schema,
which might not work. For more information, see
(Flash Professional only)" on page
Note: Persistent fields that are defined for a DataSet component take precedence over the schema
for a connector component.

Data resolution (Flash Professional only)

The resolver components let you convert changes made to the data within your application into a
format that is appropriate for the external data source that you are updating. The resolver
components can also receive updates from an external data source and convert them into a format
that is appropriate for the DataSet component to receive them.
Flash MX Professional 2004 includes the following resolver components:
"XUpdateResolver component (Flash Professional only)" for XML data sources
"RDBMSResolver component (Flash Professional only)" for relational databases
Typically, you use the resolver components with the DataSet component. When a user edits data
in your application, the data is captured in the DataSet component. The DataSet component
generates a DeltaPacket, an object that contains a list of changes made to the data at runtime. The
resolver component then converts the DeltaPacket to the appropriate format (update packet).
When an update is sent to the server, the server should respond with a results packet containing
errors or updated field values from the operations that were performed. The resolver components
can convert this information back into a DeltaPacket that can then be applied to the data set to
keep it synchronized with the external data source.
Tip: The RDBMSResolver component provides limited synching ability at this time.
286
Chapter 14: Data Integration (Flash Professional Only)
"Managing data with the DataSet component
281.
dataProvider:Array
dataProvider:Array
.
property.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-USING FLASH and is the answer not in the manual?

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents