Android Back Button?

Neotron

  • Posts: 475
Great! Thank you sandsoftimer! At last working well. It would have been much easier if Stencyl officially support Mobile exits at events or command tabs...

Neotron

  • Posts: 475
Is it normal that I got lib exit error at compiling if I want to test in browser(flash)?

rob1221

  • *
  • Posts: 9472
#if android
nme.Lib.exit();
#end

sandsoftimer

  • Posts: 316
iOS ->          

Android ->
iOS -> Bubble Tapping
 Android -> Bubble Tapping

Neotron

  • Posts: 475
It is not working, the compiler still giving me error: Events for 'yes' (84) -  flash.#Lib has no field exit

rob1221

  • *
  • Posts: 9472
You have to use the "do only on __" block because the "running on __" block doesn't use compiler flags.

Neotron

  • Posts: 475
Oh, good to know! Thanks Rob!