title: AS3 2D array initialization
body: <p>What is wrong with this <strong>Array Initialization</strong>
  I am getting syntax errors
  This class hold levels.
  I cant figure out why its not working.
  Previously i used to intialize 2d arrays by first declaring an array of certain length then assigning 
  arrays to the elemnets of main array.But when i used this method i am not getting it right </p>
  
  <pre><code>package  {
  
  public class Levels {
  
      public var Level1:Array = new Array();
      public var Level2:Array = new Array();
      public var Level3:Array = new Array();
      public var Level4:Array = new Array();
      public var Level5:Array = new Array();
      public var Level6:Array = new Array();
  
      public function Levels() {
          Level1[] =((1,1,1,1,1,1,1,1),
                     (0,1,1,1,1,1,1,0),
                     (0,0,1,1,1,1,0,0),
                     (0,0,1,1,1,1,0,0),
                     (1,1,1,1,1,1,1,1));
          Level2[] =((1,1,1,1,1,1,1,1),
                     (0,1,1,1,1,1,1,0),
                     (0,0,1,1,1,1,0,0),
                     (0,0,1,1,1,1,0,0),
                     (1,1,1,1,1,1,1,1));
          Level3[] = ((1,1,1,1,1,1,1,1),
                     (0,1,1,1,1,1,1,0),
                     (0,0,1,1,1,1,0,0),
                     (0,0,1,1,1,1,0,0),
                     (1,1,1,1,1,1,1,1));
          Level4[]= ((1,1,1,1,1,1,1,1),
                     (0,1,1,1,1,1,1,0),
                     (0,0,1,1,1,1,0,0),
                     (0,0,1,1,1,1,0,0),
                     (1,1,1,1,1,1,1,1));
          Level4[]= ((1,1,1,1,1,1,1,1),
                     (0,1,1,1,1,1,1,0),
                     (0,0,1,1,1,1,0,0),
                     (0,0,1,1,1,1,0,0),
                     (1,1,1,1,1,1,1,1));
          Level5[]= ((1,1,1,1,1,1,1,1),
                     (0,1,1,1,1,1,1,0),
                     (0,0,1,1,1,1,0,0),
                     (0,0,1,1,1,1,0,0),
                     (1,1,1,1,1,1,1,1));
          Level6[]= ((1,1,1,1,1,1,1,1),
                     (0,1,1,1,1,1,1,0),
                     (0,0,1,1,1,1,0,0),
                     (0,0,1,1,1,1,0,0),
                     (1,1,1,1,1,1,1,1));
      }
  
  }
  
  }
  </code></pre>