Skip to main content
Inspiring
January 28, 2012
Answered

Possible to detect home-button in IOS, and then goto a frame (to pause the game)?

  • January 28, 2012
  • 1 reply
  • 1159 views

My game require the player to press a button within a few seconds, and if the home-button is pressed it paused the game, but when the player goes back the game, there's not enough "normal" time to press the button, so I wanted to; when the home button is pressed - to have a function that takes the game to new frame, with a custom resume-button.

Is that possible?

Dan

This topic has been closed for replies.
Correct answer

Hello gronli21, have a look at these two threads, I hope it can help.

http://forums.adobe.com/message/4102282

http://forums.adobe.com/message/4073390

1 reply

Correct answer
January 29, 2012

Hello gronli21, have a look at these two threads, I hope it can help.

http://forums.adobe.com/message/4102282

http://forums.adobe.com/message/4073390

gronli21Author
Inspiring
January 29, 2012

Thank you It worked perfectly. I knew the answer was to be found on this forum, I just didn't use the right search-phrase, when I did my research