mardi 23 juin 2015

I run my program there is no error, but my button does not function in .swf

This is my AS3 code :

import flash.events.MouseEvent;
import flash.system.fscommand;

ExitIt.addEventListener(MouseEvent.CLICK,clickHandler);
function clickHandler(event:MouseEvent):void {
    fscommand("quit");
}  

Aucun commentaire:

Enregistrer un commentaire