View Full Version : [AS3] System.exit equivalent
experimenter
07-14-2009, 05:52 AM
Hi,
How do you do the equivalent of System.exit in AS3?
DukeW
07-14-2009, 10:08 AM
Hey, you can use fscommand("quit"), but don't forget this will work only for Projectors, it wont close any Projector windows.
experimenter
07-14-2009, 09:52 PM
Is there no generic "System.exit"?
lordofduct
07-14-2009, 10:02 PM
Only available as an AIR app:
http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/desktop/NativeApplication.html
NativeApplication.exit(...);
you can't exit out an app that is embedded as a movie in some web page. You navigate away from it to exit out.
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.