420
Data Integration (Flash Professional Only)
■
You want to create a custom transfer object implementation to complement a business
class on the server.
■
You plan to send updates back to an external data source using the built-in features of the
DataSet and resolver components (such as automated tracking of changes to your data
that can be converted into multiple formats).
For more information, see
“Managing data with the DataSet component (Flash Professional
only)” on page 420
.
If your application displays dynamic read-only data, you can use a simpler approach that does
not use the DataSet component. You would instead bind the results of a connector
component directly to UI components within your Flash document.
The DataSet component uses functionality in the DataBinding classes. If you intend to work
with the DataSet component in ActionScript only, without using the Binding and Schema
tabs in the Component inspector to set properties, you’ll need to import the DataBinding
classes into your FLA file and set schema properties in your code. For more information, see
“Making data binding classes available at runtime (Flash Professional only)” in
Components
Language Reference
.
For a tutorial that uses the DataSet component, see the DevNet article “Flash Data
Integration Using Microsoft Active Server Pages (ASP)” at
www.macromedia.com/devnet/mx/
flash/articles/flashpro_asp.html
.
The DataSet component works only with Flash Player 7 or later.
Managing data with the DataSet component (Flash
Professional only)
The data structure that is fundamental to data-driven applications is a table with rows and
columns, or fields. To expose the fields of the current row in the table, you must define
properties of a DataSet component on the Schema tab. (For an example, see the design time
example in
“Accessing the data” on page 424
.)
Once you have specified a schema for the DataSet component, you typically create the
following bindings to or from a DataSet component:
■
Bind the results of a connector component to fields of the DataSet component.
■
Bind fields of the DataSet component to properties of UI components within your
Flash document.
■
Bind the DeltaPacket property of a resolver component to the DeltaPacket property of a
DataSet component.
Summary of Contents for FLASH 8-FLASH
Page 1: ...Using Flash ...
Page 12: ...12 Contents ...
Page 110: ...110 Using Symbols Instances and Library Assets ...
Page 128: ...128 Working with Color Strokes and Fills ...
Page 156: ...156 Drawing ...
Page 190: ...190 Working with Text ...
Page 224: ...224 Working with Graphic Objects ...
Page 270: ...270 Creating Motion ...
Page 310: ...310 Working with Video ...
Page 362: ...362 Working with Screens Flash Professional Only ...
Page 386: ...386 Creating Multilanguage Text ...
Page 454: ...454 Data Integration Flash Professional Only ...
Page 500: ...500 Publishing ...
Page 534: ...534 Creating Accessible Content ...