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.
import flash.events.MouseEvent
import flash.system.fscommand;
quit_btn.addEventListener(MouseEvent.CLICK,clickHandler);
function clickHandler(event:MouseEvent):void {
fscommand("quit");
}