as the title says I want to stop a specific sound when an event is happening.
but its an error.
hope you can help me.
You can't stop a sound like that. You need an ISound which you can put in the stopSound method. You can't put a string in there. Have a look in the soundhandler class to find how to get a sound from a resource location.