MACROMEDIA FLASH MX 2004-USING COMPONENTS Use Manual page 348

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

Advertisement

See also
DataSet.applyUpdates()
DataSet.removeSort()
DataSet.skip()
Availability
Flash Player 7.
Edition
Flash MX Professional 2004.
Usage
dataSet.skip(offSet)
Parameters
An integer specifying the number of records by which to move the iterator position.
offSet
Returns
Nothing.
Description
Method; moves the current iterator's position forward or backward in the collection by the
amount specified by
values move it backward.
If the specified offset is beyond the beginning (or end) of the collection, the iterator is positioned
at the beginning (or end) of the collection.
Example
This example positions the current iterator at the first item in the collection, then moves to the
next-to-last item and performs a calculation on a field belonging to that item.
myDataSet.first();
// Move to the item just before the last one
var itemsToSkip = myDataSet.length - 2;
myDataSet.skip(itemsToSkip).price = myDataSet.amount * 10;
DataSet.useSort()
Availability
Flash Player 7.
Edition
Flash MX Professional 2004.
Usage
dataSet.useSort(sortName, order)
348
Chapter 6: Components Dictionary
,
DataSet.hasNext()
. Positive
offSet
offSet
,
DataSet.next()
values move the iterator's position forward; negative
,
DataSet.removeRange()
,

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?

Questions and answers

This manual is also suitable for:

Flash mx

Table of Contents