I'm doing a project for school, and I need some sound in it. I've followed my teacher's instructions, but no sound is coming out, but it does come out for his code. Here it is
Greenfoot.playSound("popLow.wav");
Any advice would be appreciated.


Actor Afal; Afal=getOneObjectAtOffset(0,0,Afal.class); if (Afal!=null) { Cell world; world=(Cell)getWorld(); world.removeObject(Afal); Greenfoot.playSound("popLow.wav"); }
public Greenfoot.Sound <name_variable> = new Greenfoot.Sound("name_file");
<name_variable>.play();
<name_variable>.playloop();
public Greenfoot.Sound <name_variable> = new Greenfoot.Sound("name_file");
<name_variable>.play();
<name_variable>.playloop();