Data Binding (Flash Professional Only) - MACROMEDIA FLASH 8-USING FLASH Use Manual

Using flash
Table of Contents

Advertisement

Workflow for an external database (non-XML or not a web service):
1.
Set up your data source; for example, in the ColdFusion environment, set up a ColdFusion
DataSource component to connect to your data source.
2.
Add components to the Stage:
DataSet component.
UI component for data display, such as DataGrid.
Resolver component.
3.
Bind the DataSet component to the UI component for data display.
4.
Set up DataSet component:
Set component parameters.
Set component properties on the Schema tab.
5.
Set up a connection to your data; for example, you could set it up through a ColdFusion
component with Flash Remoting services and your own ActionScript code.
6.
Bind the resolver component to the DataSet component.
7.
Set up the resolver component:
Set component parameters.
Set component properties on the Schema tab.
Write ActionScript code using methods of a resolver component class.
8.
Add additional UI components and ActionScript code for the resolver functionality
(that is, for adding, editing, or deleting data records). Bind UI components to
resolver components.

Data binding (Flash Professional only)

Data binding lets you map the properties of one component to another component. A
binding is simply a statement that says "When property X of component A changes, copy the
new value to property Y of component B."
For rich internet applications, you can map data from external data sources to Flash
components. The external data source is represented in your application by a component;
items in the data source's schema are represented as properties of the component. You can
define component properties to meet your business needs; these properties, which contain
dynamic data that you want to manipulate, are referred to as bindable properties.
The most powerful use of data binding in Flash is to define the flow of data between UI
components, data management components, and connector components that access external
data sources such as web services, XML documents, and relational databases.
394
Data Integration (Flash Professional Only)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents