hi I'm trying to play a "boo" sound and I've saved it in the sound folder in the desktop. everything compiles but gives a runtime error that it can't find the sound! HELP
import greenfoot.*;
public class Hero extends Actor
{
GreenfootSound booSound = new GreenfootSound("Boo.wav");
public void act()
{
checkKeys();
}
public void checkKeys()
{
if (Greenfoot.isKeyDown("space")) booSound.play();
}
}