openfl.Lib.exit();
Try
openfl.Lib.exit();
On Monday, September 29, 2014 5:14:28 PM UTC+2, Rabí Hernández Corona wrote:
Lib.exit() inside an #if android #end tag, it's not visible to the Flash target see. Also, there should be a FlxG.android.exit I think (as in, should be added, it's not there currently:)...
import openfl.system.System;
...
System.exit(0);