Thanks for your reply Alex,

slice is only in Array, but couldn't be used in ArrayCollection class.
Would you please show me how to use it in ArrayCollection?

=======the code doesn't work in this case========

var myData:ArrayCollection
myData.slice()


Cheers


--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> source.slice().  See array.slice() for documentation.
> 
>  
> 
> ________________________________
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of flexawesome
> Sent: Saturday, November 03, 2007 10:22 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Gets arrange items in ArrayCollection?
> 
>  
> 
> Hey there,
> 
> Is there a way to get arrange items in ArrayCollection? ( like substr
> ) for example:
> 
> var myData:ArryCollection
> 
> it contents 10 *items*
> 
> I can get entire list of myData, but I only need index 2 - 7, kick out
> 0,1,8,9,10.
> 
> Cheers
>


Reply via email to