title: AS3 for exit button in CS6
body: <p>this is my AS3 coding for Exit button which i built in CS6. But, when i tested the movie in flash, it doesn't work to quit the game. What is the problem, can anyone tell me?Thanks.</p>
  
  <pre><code>import flash.events.MouseEvent
  import flash.system.fscommand;
  quit_btn.addEventListener(MouseEvent.CLICK,clickHandler);
  
  function clickHandler(event:MouseEvent):void {
     fscommand("quit");
  }  
  </code></pre>