You can use acTest.getItemAt(0)

acTest.source[0] also compiles.

If you are using Flexbuilder, Cntl-Space (or PC equivalent) gives you
"content assist", so just type it after the period and see what you
get.

On Sat, Jun 7, 2008 at 5:57 PM, markflex2007 <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have a demo here:
>
> acTest = new ArrayCollection([{first: 'Matt', last:
> 'Matthews'},{first: 'Jame', last: 'Wang'},{first: 'Rey', last:
> 'Chang'}]);
>
> trace(acTest.length.toString());
> trace(acTest.list.source[0].first);
>
> I want to use 'acTest.list.source[0].first' to get "Matt".but I can not.
> Please let me know the correct syntax.
>
> I am new for Arraycollection and I like to learn.Please help me.
>
> Thanks a lot
>
> Mark
>
> 

Reply via email to