Usage
dataSet.readOnly
Description
Property; a Boolean value that specifies whether this collection can be modified (
read-only (
). Setting this property to
true
value is
.
false
You can also set this property in the Property inspector.
Example
The following example makes the DataSet object named
to change the value of a property that belongs to the current item in the collection. This will
throw an exception.
myDataSet.readOnly = true;
// This will throw an exception
myDataSet.currentItem.price = 15;
See also
DataSet.currentItem
DataSet.removeAll()
Availability
Flash Player 7.
Edition
Flash MX Professional 2004.
Usage
dataSet.removeAll()
Parameters
None.
Returns
Nothing.
Description
Method; removes all items in the DataSet collection.
Example
This example removes all the items in the DataSet collection
contact_ds.removeAll();
338
Chapter 6: Components Dictionary
prevents updates to the collection. The default
true
myDataSet
contact_ds
) or is
false
read-only, and then attempts
:
Need help?
Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?
Questions and answers