How do i stop a certain sound playing on a certain frame?

Ok so i want a sound to stop playing when the timeline gets to a certain frame. The thing is i have music playing too, which i dont want to stop, so i cant use “stopAllSounds();”

can i use AS to say something similar to "Stop (‘soundX’) " ?