title: Error with 2D array - Error #1010: A term is undefined and has no properties
body: <p>The first 2 loops set the textfields just fine. But the next 2 give me the error Error #1010: A term is undefined and has no properties. Something is NULL, but what? Can't figure out :(</p>
  
  <pre><code>import flash.text.TextField;
  
  var suallar:Array = new Array();
  var cavablar_temp:Array = new Array();
  
  var i:int;
  var j:int;
  
  suallar.push(["sual1", "duz1", "sehv11", "sevh12", "sevh13","sevh14"]);
  suallar.push(["sual2", "duz2", "sehv21", "sevh22","sevh23","sevh24" ]);
  suallar.push(["sual3", "duz3", "sehv31", "sevh32","sevh33","sevh34"]);
  suallar.push(["sual4", "duz4", "sehv41", "sevh42","sevh43","sevh44"]);
  suallar.push(["sual5", "duz5", "sehv51", "sevh52","sevh53","sevh54"]);
  
  var sualYeri:Array = new Array();
  for (i=0; i&lt;suallar.length; i++)
  {
      sualYeri[i] = new TextField();
  }
  
  
  
  
  for (i=0; i&lt;suallar.length; i++)
  {
      sualYeri[i].text = suallar[i][0];
  
      sualYeri[i].x = 0;
      sualYeri[i].y = 50 * i;
      addChild(sualYeri[i]);
  }
  
  trace(sualYeri.join("\n"));
  trace(suallar.join("\n"));
  </code></pre>
  
  <p>last 2 loops, that don't work start here</p>
  
  <pre><code>var cavabYeri:Array = new Array();
  
  for (i=0; i&lt;suallar.length; i++)
  {
      for (j=0; j&lt;suallar.length; j++)
      {
          cavabYeri[i][j] = new TextField();
  
      }
  }
  trace(cavabYeri.join("\n"));
  
  
  
  for (i=0; i&lt;suallar.length; i++)
  {
      for (j=0; j&lt;suallar[i].length; j++)
      {
          cavabYeri[i][j].text = suallar[i][j];
  
          cavabYeri[i][j].x = 0 + 100 * j;
          cavabYeri[i][j].y = 0 + 100 * i;
          addChild(cavabYeri[i][j]);
      }
  
  }
  </code></pre>