The DataSet component uses functionality in the data binding 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 data binding
classes into your FLA file and set required properties in your code. See
classes available at runtime (Flash Professional only)" on page
For general information on how to manage data in Flash using the DataSet component, see
"Data management (Flash Professional only)" in Using Flash.
DataSet parameters
You can set the following parameters for the DataSet component:
itemClassName
is a string indicating the name of the transfer object class that is instantiated
each time a new item is created in the DataSet component.
The DataSet component uses transfer objects to represent the data that you retrieve from an
external data source. If you leave this parameter blank, the data set creates an anonymous
transfer object for you. If you give this parameter a value, the data set instantiates your transfer
object whenever new data is added.
You must make a fully qualified reference to this class somewhere in your code to make
sure that it gets compiled into your application (such as
private var myItem:my.package.myItem;
logChanges
is a Boolean value that defaults to
data set logs all changes made to its data and any method calls made on the associated
transfer objects.
readOnly
is a Boolean value that defaults to
set cannot be modified.
You can write ActionScript code to use the properties, methods, and events of the DataSet
component to control these and additional options. For more information, see
(Flash Professional only)" on page
332
Components Dictionary
).
. If this parameter is set to
true
. If this parameter is set to
false
335.
"Making data binding
207.
true
, the data
true
"DataSet class
, the
Need help?
Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?
Questions and answers