Overlapping Sound Issue FL8/AS2

I have a button that is supposed to make one sound when an object is in range and another when it is not below is the code for the button.

the problem is both sounds play at once what am I missing here please help

//Attach Sound to Keypress
on (keyPress “<Space>”) {
alertSounds();
getTimer();
var reaction=getTimer()+",";
trace (reaction+“reactionTime”);
_root.reaction_txt += reaction;
function alertSounds() {
var posSound = new Sound
var negSound = new Sound
if (_root.stimuli._x>585);
negSound.attachSound (“buzz”);
negSound.start(0,1);
if (_root.stimuli._x<=585);
posSound.attachSound(“notify”);
posSound.start(0,1);
}
}