title: Action Script 3. How to set background
body: <p>I'm creating flash game, here is restart button and I have function for delete all objects (children) from the stage.</p>
  
  <pre><code>function restartGame(e:MouseEvent):void
  {
      while (numChildren &gt; 0) {
          removeChildAt(0);
  }
  addChild(_cards);
  
  //here I need to add background
  
      startMemoryGame();
  
  }
  </code></pre>
  
  <p>At normal I don't need to add background, when game is started It is added automatic. In library It is called background.jpg, I converted It to graphic and now I named It just background added linkage "Background" but <code>addChild(background);</code> doesn't work for me.
  Could you help me? Thank you.</p>