Hello, I wrote earlier about multi-arrays, I thought I understood, but it seems I really don’t understand the display list. Why does this simple example not work?
sprites = new Array();
for (i = 0; i < 3; i++)
{
sprites*.push(new Array());
sprites*.name = "Level: 1";
for (j = 0; j < 3; j++)
{
sprites*[j].push(new Array());
sprites*[j].name = "Level: 2";
for (k = 0; k < 3; k++)
{
sprites*[j][k].name = "Level: 3";
}
}
}
Output: TypeError: Error #1010: A term is undefined and has no properties.