I'm currently working on this (Midi Animation ) scenario, which is meant to animate midi files from a user-given url. It works fine when the original scenario is run on a computer or the .jar file is run, but it doesn't work on the Greenfoot site and I figured out that it was giving the following error:
java.security.AccessControlException: access denied ("java.net.SocketPermission" "www.cool-midi.com:80" "connect,resolve")
Does anyone know a way to fix this? The line that causes this error is:
...where song is a Sequence and name is the full URL of a .mid file.
song = MidiSystem.getSequence(new URL(name));

