It looks like the problem is related to the filenames of images. Java is case sensitive in general, but because Windows (and other operating systems) are not case sensitive about filenames, it might work on your machine, but when uploaded to the Gallery it breaks if the cases are not correct. So, check that the names of the images that you use in the code is exactly the same as the filenames - including upper and lower case.
not just case sensitive, but directory name too , dont do like this....like "sounds\\explosion.wav", but "explosion.wav"
in computer thats okay, but at website will generating error while the method was called ^_^"
The problem with the directory names sounds like a bug in Greenfoot that should be fixed. I've created a bug report for this. Thanks for reporting it qnanqing!
In this particular case, the error message is
java.lang.IllegalArgumentException: Could not find file: body gibs/Bone1.png
So look at the file name "Bone1.png" and pay attention to uppercase/lowercase differences. Also, avoid spaces in folder names and file names (such as "body gibs").
ok - will try and fix this tomorrow. mik - how did you find out what the error message was? I wasn't seeing any... is there something in the browser or in java that needs to be turned on?
thanks all for all the help!
To see error messages you have to open the Java Console. How to open the Java Console depends on the browser and OS you are using. Maybe you can use the hints here: http://mindprod.com/jgloss/console.html (not sure if they are up-to-date though).
How is the information correlating the scenario and the greenfoot gallery stored? is there a way to move it from one scenario to another? we were working off a copy, and want to upload the updated one (not originally uploaded).
Not quite sure what you mean. But a scenario is identified by the scenario name and the account that is used for the upload. If you want to replace an existing scenario with something else, just make sure you give the new scenario exactly the same name as the original, and use the same account to upload it with. Was that what you meant?
Btw, it might be better to ask this kind of question on: http://groups.google.com/group/greenfoot-discuss
A new version of this scenario was uploaded on Tue Nov 04 15:01:41 UTC 2008
2008/11/3
2008/11/3
2008/11/3
2008/11/3
2008/11/3
2008/11/3
2008/11/3
2008/11/3
2008/11/4
2008/11/4
2008/11/4
2008/11/5
2008/11/6
2008/11/10