Highlighted

pause and resume app

New Here ,
Apr 19, 2020

Copy link to clipboard

Copied

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

Views

46

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

pause and resume app

New Here ,
Apr 19, 2020

Copy link to clipboard

Copied

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

Views

47

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
Apr 19, 2020 0
Adobe Community Professional ,
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
Reply
Loading...
Apr 19, 2020 0
New Here ,
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
Reply
Loading...
Apr 20, 2020 0
kglad LATEST
Adobe Community Professional ,
Apr 20, 2020

Copy link to clipboard

Copied

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
Reply
Loading...
Apr 20, 2020 0