As long as someone is holding onto it, you don't need to store it somewhere else. If you have a reference to the AC, it has a reference to the source, so that's good enough.
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Amy Sent: Thursday, May 29, 2008 7:59 PM To: [email protected] Subject: [flexcoders] Re: Using an ArrayCollection as the dataProvider for multiple components --- In [email protected] <mailto:flexcoders%40yahoogroups.com> , "Alex Harui" <[EMAIL PROTECTED]> wrote: > > An array collection is a view of the collection's source. I wouldn't > copy the AC, I would make another instance of an AC and have it share > the source Array with the other AC. If you want changes to one AC to > show up in the other AC, then you want to share the AC's list property > instead. The source array is created as a temporary variable inside a function. Can I just point at the source of the ArrayCollection, or do I need to store the Array separately? Thanks; Amy

