Data management (Flash Professional only)
421
The following diagram illustrates the data binding that typically is needed when you use a
DataSet component.
The DataSet component is used to hold and organize your data; you must use data bindings
and write ActionScript code to handle updates. Changes that are made to your data through
UI components can be tracked and used to generate a DeltaPacket, an object produced by the
DataSet component that contains a list of changes made to data at runtime. A resolver
component can then manipulate the DeltaPacket into a specific format for use by external
data sources. Using the
logChanges()
method of the DataSet component, you can track
both changes made to the data and methods called.The following illustration shows the flow
of data through a UI component, DataSet and Resolver component, and the DeltaPacket
object produced.
For a common workflow and information on how you use the methods, properties, and
events of the DataSet component to manage your data, see “Using the DataSet component”,
“DataSet class (Flash Professional only)”, and the “DeltaPacket interface (Flash Professional
only)” in the
Components Language Reference.
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 must 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 the
Components Language Reference
.
The DataSet component works only with Flash Player 7 or later.
Содержание FLASH 8-FLASH
Страница 1: ...Using Flash ...
Страница 12: ...12 Contents ...
Страница 110: ...110 Using Symbols Instances and Library Assets ...
Страница 128: ...128 Working with Color Strokes and Fills ...
Страница 156: ...156 Drawing ...
Страница 190: ...190 Working with Text ...
Страница 224: ...224 Working with Graphic Objects ...
Страница 270: ...270 Creating Motion ...
Страница 310: ...310 Working with Video ...
Страница 362: ...362 Working with Screens Flash Professional Only ...
Страница 386: ...386 Creating Multilanguage Text ...
Страница 454: ...454 Data Integration Flash Professional Only ...
Страница 500: ...500 Publishing ...
Страница 534: ...534 Creating Accessible Content ...