I have a question related to memory. I will give an example to make it clear how everything works now.
I have 2 arrays:
var ArrayNew:Array = new Array();
var ArrayOld:Array = new Array();
Also i have a class to store my objects (3 properties). For example:
public Id {get; set;}
public Name {get; set;}
public Type {get; set;}
The thing is, that i'm filling the ArrayNew with new objects every (for example 12 hours):
ArrayNew.push(x, x, x)
.....
ArrayNew.push(x, x, x)
It may be about ~200 records or even more. After that i make this:
ArrayOld = ArrayNew;
ArrayNew = null;
So the thing is, how memory works in this situation and what happens with objects? Does ArrayOld = ArrayNew make a copy of objects (cause now it works)? Does ArrayNew=null delete created objects? I wish you undearstand the situation. :)