Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

I need action script code to close android air application???

New Here ,
May 18, 2015 May 18, 2015

I used this code to exit from air application In android mobile , when i used this i am coming out of application but the application is still in minimize mode . can any one help me to close total application when I press exit button ???

import flash.desktop.NativeApplication;

quitBtn.addEventListener(MouseEvent.CLICK, quitScene);

function quitScene(event:MouseEvent):void {

             stop();

     NativeApplication.nativeApplication.exit(); 

}

Thanks&regards

Niranjan

TOPICS
ActionScript
3.1K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guru ,
May 18, 2015 May 18, 2015
LATEST
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines