I think that you could have got this one from the docs.

arrycoll.addItem(obj1);

-TH

--- In flexcoders@yahoogroups.com, "timgerr" <[EMAIL PROTECTED]> wrote:
>
> Hello all, I was wondering how to add objects to arraycollections
> arrycoll:ArrayCollection = new ArrayCollection();
> obj1:Object = new Object();
> obj2:Object = new Object();
>
> obj1.id = 'Hi';
> obj.2.id = 'Bye';
>
> how do I add obj1 and obj2 to an array collection?
>
> Thanks,
> timgerr
>



Reply via email to