title: Syntax error: expecting semicolon before leftbracket
body: <p>I have the following code at frame one of the top layer:</p>
  
  <pre><code>var level:Array = new Array();
  var level[0] = new Object();
  </code></pre>
  
  <p>I am getting the following error:</p>
  
  <pre><code>Scene 1, Layer 'levels', Frame 1, Line 2
  1086: Syntax error: expecting semicolon before leftbracket.
  </code></pre>
  
  <p>I've looked at many examples which seem to be doing the same thing I'm doing, and I've also tried defining the object separately and then adding it to the array, with the same error.  I've also searched for the answer, but all the questions I've found are a little different than this situation.</p>