What about just setting it to null?
myArrayCollection = null;
That should free it up in memory. Isn't that what you need?
Jurgen
candysmate wrote:
--- In [email protected]
<mailto:flexcoders%40yahoogroups.com>, "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> Where is the ArrayCollection declared?
>
>
>
> selectedItem is a property of the dataGrid that has a reference to an
> item in the dataProvider. If the DG is gone, then so is the
> selectedItem Property.
>
>
>
> What exactly do you want to happen?
>
>
>
> Tracy
>
Sorry guys, I didn't explain myself too well. What I want to happen is
to null the ArrayCollection after I've done with it. So it doesn't sit
around in memory hogging resources.
best, Graham