title: AS3 Randomly load movieclip from library without repeatation
body: <p>I have a spot a difference game that every time I solve an image, and I click next it will load another MC from library.</p>
  
  <p>Below is my code to randomly loaded the MC from library:</p>
  
  <pre><code>var showMcNum:Number = 0;
  var movieList:Array = [mc1,mc2,mc3];
  function getRandomMovie():MovieClip
  {
      return new movieList[Math.floor(Math.random()*movieList.length)];
  }
  nextBtn.addEventListener(MouseEvent.CLICK, nextClick);
  function nextClick(event:MouseEvent):void
  {
      var mc:MovieClip = getRandomMovie();
      addChild(mc);
      mc.x = stage.stageWidth / 2;
      mc.y = stage.stageHeight / 2;
  }
  </code></pre>
  
  <p>I would like to every time I click the next button, then it will load another MC from library without repeatation of those MC.</p>