title: Why does this Switch/Case Statement always perform the default? AS3
body: <p>This switch/case statement always does the default, I don't want that to happen.  Also, I am getting no errors.  Can someone enlighten me as to what my problem is?  The function always traces what I expect it will, but I want it to place a bulldozer on the stage.</p>
  
  <pre><code>import flash.display.MovieClip;
  import flash.events.MouseEvent;
  import flash.ui.Mouse;
  
  //START SCREEN
  var startScreen: MovieClip;
  var bulldozer: MovieClip;
  
  
  startClick.addEventListener(MouseEvent.CLICK, startGame);
  
  function startGame(event: MouseEvent): void {
      startScreen.parent.removeChild(startScreen);
  startClick.parent.removeChild(startClick);
  var enemyGenerator: Number = Math.random();
  switch (enemyGenerator) {
      case 0.8 &lt;= enemyGenerator &amp;&amp; enemyGenerator &lt;= 1:
          stage.addChild(bulldozer);
          bulldozer.x = stage.x = 150;
          bulldozer.y = stage.y = 150;
          break;
      case 0.6 &lt;= enemyGenerator &amp;&amp; enemyGenerator &lt; 0.8:
          stage.addChild(bulldozer);
          bulldozer.x = stage.x = 250;
          bulldozer.y = stage.y = 250;
          break;
      case 0.4 &lt;= enemyGenerator &amp;&amp; enemyGenerator &lt; 0.6:
          stage.addChild(bulldozer);
          bulldozer.x = stage.x = 350;
          bulldozer.y = stage.y = 350;
          break;
      case 0.2 &lt;= enemyGenerator &amp;&amp; enemyGenerator &lt; 0.4:
          stage.addChild(bulldozer);
          bulldozer.x = stage.x = 400;
          bulldozer.y = stage.y = 400;
          break;
      case 0 &lt;= enemyGenerator &amp;&amp; enemyGenerator &lt; 0.2:
          stage.addChild(bulldozer)
          bulldozer.x = stage.x = 450;
          bulldozer.y = stage.y = 450;
          break;
      default:
          trace (enemyGenerator);
  }
  startClick.removeEventListener(MouseEvent.CLICK, startGame);
  }
  </code></pre>