Answered
Exit button.
I want to add "Exit" button to my app, used this code:
exit.addEventListener(MouseEvent.CLICK, exitHandler);
function exitHandler(e:MouseEvent):void{
fscommand("quit");
}
But it is not working, after click nothing happens.
Are there any mistakes in code or other solution?
