I am making a Breakout game for my programming class. I'm trying to have music play during the duration of the level, but I want the theme music to stop when I die so that my death sound can be heard. I'm trying to do this with death, when I win, and when I loose all of my lives. I try to execute the following command in the same class that initially executes the theme music:
Greenfoot.stop(Greenfoot.playSound("Theme1.mp3"));

