title: Multidimensional Vector in AS3
body: <p>How can I initialise two-dimentional typed Vector is AS3?</p>
  
  <p>Now I can get working only this:</p>
  
  <pre><code>private var _mainArray : Array = new Array( MyConst.DIMENTION );
  
  public function MyArray() 
  {
          for ( var i : int = 0; i &lt; MyConst.DIMENTION; i++ ) {
          _mainArray[ i ] = new Vector.&lt;int&gt;( MyConst.DIMENTION );
      }
  }
  
  ...
  _mainArray[ i ][ j ] = 0;
  </code></pre>