myFXsound = new Sound()
myFxsound.attachSound("effetto") // sta nella liberia



codice:
....
if(this.hitTest(_root.player) &&_currentframe==2 ){
    fallspeed=random(10)+4;
    _root.score+=30;
    _y=Math.random()*1*-100;
    _x=random(700);
    gotoAndStop(random(4)+1);
    _root.myFXsound.start(100,1) 
}
.....