mown Posted December 15, 2014 Report Share Posted December 15, 2014 Hello Everybody am trying to write my own code on Android back button , but am facing a problemhere is my code : create: function () { Cocoon.App.exitCallback(function () { alert('hello'); game.state.start('intro'); return false; });} the alert is showing but after that i receive the following error thanks a lot guys. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.