title: Error 2006 The Supplied Index is Out of Bounds
body: <p>Another day another problem unfortunately- the last line of this piece of code is the culprit:</p>
  
  <pre><code>                    uiBar = new mcUiBar();
          uiBar.x=-15;
          uiBar.y=-5;
          addChildAt(uiBar, numChildren-1);
  </code></pre>
  
  <p>Now I researched and so I know it has something to with the array being larger than whatever, but I'm not figuring it out.  I'm stumped.  I would appreciate your help.  Cheers</p>