0
votes

I want to retrieve selected items from ArrayCollection by using start index and end index, is there any predefined method to do this... Thanks in Advance.

1

1 Answers

2
votes

look at toArray and slice.

var newAC:ArrayCollection = new ArrayCollection( myAC.toArray().slice(10,20) );
//myAc = original ArrayCollection, 10 = startIndex, 20 = endIndex