does the ac1.source.concat represent object property of 'source'?
--- In flexcoders@yahoogroups.com, "ezderman" <[EMAIL PROTECTED]> wrote:
>
> almost. this works for a simple ArrayCollection. It didnt work
for
> more complex ones
> >
> > # var ac1:ArrayCollection = new ArrayCollection( [1, 2,
almost. this works for a simple ArrayCollection. It didnt work for
more complex ones
>
> # var ac1:ArrayCollection = new ArrayCollection( [1, 2, 3, 4] );
> # var ac2:ArrayCollection = new ArrayCollection( ac1.source.concat
() );
--- In flexcoders@yahoogroups.com, "Aaron Miller" <[EMAIL PRO
Aaron, I do not want to just copy one arraycollection to another. I
want to copy a certain object property of the arraycollection to a
new arraycollection.
eg.
arraycoll1:
[0] =
[1] =
arraycoll2 (copy only 'source'):
[0] =
[1] =
--- In flexcoders@yahoogroups.com, "Aaron Miller" <[EMAI
That method you linked to in your blog seems a little bulky.
Duplicated here:
# private function copyArrayCollection(src1:ArrayCollection,
# src2:ArrayCollection):ArrayCollection{
# var dest:ArrayCollection = new ArrayCollection();
# if(src1 != null && src1.length > 0){
# for(var i:int = 0; i wro
http://flexed.wordpress.com/2006/12/21/copy-2-arraycollections/
--- In flexcoders@yahoogroups.com, "jovialrandor" <[EMAIL PROTECTED]>
wrote:
>
> I want to copy a certain property (companyInfo2.RELATED_ASSET_ID)
of
> one arraycollection to another arraycollection (asset_id).
>
> how do I go ab
5 matches
Mail list logo