for (var yy:int = 0; yy < sizey ; yy++) { this[yy] = new ByteArray; for (var xx:int = 0; xx < sizex ; xx++) { this[yy][xx] = 0; } }