i.e. DON'T do the following
class myClass {
var my_array:Array = new Array()
function myClass()
{
}
....
}
Coz this would end up with a behaviour similar to having the my_array defined as static. What I think that it is happening, is that it won't re-initialise the variables when you instantiate a class but will just give you a reference to the array. Thus each instance you create will have a reference to the same array. How dumb!
So the solution is ofcourse to move the array instantiation in the constructor, like so:
class myClass {
var my_array:Array;
function myClass()
{
my_array = new Array();
}
....
}
