Im using the jme SDK to compile a SimpleApplication into an applet. I’ve been trying to call some functions in my Application from javascript, i’ve been trying to use document.getElementById(‘loader’).getApplet().getApplet( … ) but I’m not sure what to put as an argument, I tried putting the loader as an argument but got “Error calling method on NPObject”. Any help would be much appreciated.
Someone else on here has already done this, as I recall. I don’t remember if they had to modify JME source to make it work or not. you might try the “Google custom search” in the upper right of this page.
so after modifying source/com/jme3/app/AppletHarness.java to do what i want, how would i compile it?
my bad, found a tutorial, am downloading from the svn repo now, we’ll see how we go