my callback is not working , gives an error in CocoonJS 'undefined is not an object (evaluating 'runtime.types.Function.instances')
Here is capx , https://dl.dropboxusercontent.com/u/800 ... lback.capx and modified index.html
https://dl.dropboxusercontent.com/u/80050021/index.html
Please help , I am also trying this method, solved-how-do-i-callback-in-outside-of-canvas_t109372 gives a different error ,
' undefined is not a object (evaluating 'IN['cr'].plugins_')
Any help on the callback ? Not able to figure this out but badly needed it.
—, the callFunc function I shared didn't work with the minifier I believe, unless you wrapped it into a plugin.
A similar function was recently added to the sdk as c2_callFunction("name",['param0']) ... very useful
Develop games in your browser. Powerful, performant & highly capable.
Thanks Noncentz705 , the above did the trick.