MACROMEDIA FLASH MX 2004-USING COMPONENTS Use Manual page 333

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

Advertisement

Example
This example uses
and
fields contain the values
id
is used to get the unique identifier for that item, and
the current iterator at that item.
var studentID:String = null;
studentData.addSort("id", ["name","id"]);
if(studentData.find(["Bobby", 105])) {
studentID = studentData.getItemId();
studentData.locateById(studentID);
}
See also
DataSet.applyUpdates()
DataSet.logChanges
Availability
Flash Player 7.
Edition
Flash MX Professional 2004.
Usage
dataSet.logChanges
Description
Property; a Boolean value that specifies whether changes made to the data set, or its items, should
(
) or should not (
true
When this property is set to
logged. Collection-level changes include the addition and removal of items from the collection.
Item-level changes include property changes made to items and method calls made on items by
means of the DataSet component.
Example
The following example disables logging for the DataSet object named
userData.logChanges = false;
See also
DataSet.deltaPacket
to search for an item in the current collection whose
DataSet.find()
"Bobby"
,
DataSet.find()
) be recorded in
false
, operations performed at the collection level and item level are
true
and 105, respectively. If found,
DataSet.locateById()
,
DataSet.getItemId()
DataSet.deltaPacket
DataSet component (Flash Professional only)
name
DataSet.getItemId()
is used to position
.
.
userData
333

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash mx

Table of Contents