Question
Exit button undefined property
I made an exit button in adobe animate as 3 for publish android. The exit button uses coding
stop();
btnya.addEventListener(MouseEvent.CLICK, closeapp);
function closeapp(e:MouseEvent):void
{
NativeApplication.nativeApplication.exit(0);
}
but access of undefined property nativeApplication. Do i have to name it anywhere?
