We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpSound,  Music Libraries › problems with oscP5 inside java applet
Page Index Toggle Pages: 1
problems with oscP5 inside java applet (Read 317 times)
problems with oscP5 inside java applet
Jan 7th, 2009, 6:11pm
 
Sorry for the strange "subject"....

Pre:
I think my problem depends by java security (sandbox?)...

Problem:
I wrote an applet with processing that uses oscP5 protocol to "speak" with PureData on {localhost:10000}; I tried three different ways to test that applet:

Additional Info:
PureData runs on localhost.

1) If I open the index.html directly from the exportPATH (file:///home/user/sketchbook/.../index.html) the applet doesn't work.

2) If I copy all the content of the exportPATH in my httpd root (on localhost) the applet works properly.

3) If I copy all the content of the exportPATH in my httpd root (on my LAN internal server) the applet doesn't work.

I tried to sign the applet (http://processing.org/hacks/hacks:signapplet) and using crossdomain.xml (http://weblogs.java.net/blog/joshy/archive/2008/05/java_doodle_cro.html) but the applet doesn't work.... so my question is : WHERE is the problem???

thanks
Fabio [mbutUbuntu] Buda]
http://mbutubuntu.homelinux.org
Page Index Toggle Pages: 1