Description
Method; returns
true
== 0).
dataSet.length
Example
The following code disables a Delete Record button (not shown) if the DataSet object it
applies to is empty:
if (my_ds.isEmpty()) {
delete_button.enabled = false;
}
See also
DataSet.length
DataSet.items
Availability
Flash Player 7.
Edition
Flash MX Professional 2004.
Usage
dataSetInstance.items
Description
Property; an array of items managed by
Example
The following example assigns an array of objects to the
var recData:Array = [{id:0, firstName:"Mick", lastName:"Jones"},
{id:1, firstName:"Joe", lastName:"Strummer"},
{id:2, firstName:"Paul", lastName:"Simonon"}];
my_ds.items = recData;
if the specified DataSet object doesn't contain any items (that is, if
my_ds
.
property of a DataSet object:
items
DataSet.items
377
Need help?
Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?
Questions and answers