a item in Arraycollection?
It works with "trace(acTest.getItemAt(0).first);"
Thanks
Mark
- Original Message
From: Richard Rodseth <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Saturday, June 7, 2008 6:04:01 PM
Subject: Re: [flexcoders] How to get a item in
It works with "trace(acTest.getItemAt(0).first);"
Thanks
Mark
- Original Message
From: Richard Rodseth <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Saturday, June 7, 2008 6:04:01 PM
Subject: Re: [flexcoders] How to get a item in Arraycollectio
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
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
4 matches
Mail list logo