pause and resume app

New Here ,
Apr 19, 2020 Apr 19, 2020

Copy link to clipboard

Copied

how to pause and resume app when clicking home button in AS3 ? please help!

Views

61

Likes

Translate

Translate

Report

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
Adobe Community Professional ,
Apr 19, 2020 Apr 19, 2020

Copy link to clipboard

Copied

you can use:

 

NativeApplication.nativeApplication.addEventListener(Event.DEACTIVATE, suspendF);
NativeApplication.nativeApplication.addEventListener(Event.ACTIVATE, unsuspendF);

Likes

Translate

Translate

Report

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
New Here ,
Apr 20, 2020 Apr 20, 2020

Copy link to clipboard

Copied

how about the function?

Likes

Translate

Translate

Report

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
Adobe Community Professional ,
Apr 20, 2020 Apr 20, 2020

Copy link to clipboard

Copied

LATEST

you put whatever's needed for you app.  ie, it's not possible to know that answer without seeing your app or you describing what needs to be paused and resumed.

Likes

Translate

Translate

Report

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