Sound system problem

Hey, im getting better at this whole actionscipt stuff so i decided to make a basic conversation system for my game, turns out though if you press the buttons before the dialoge is finished playing then it just plays them both at the same time, is there anyway i can stop that without stopping all sounds, i have been using

on (press) {nextframe();
stopallsounds();
}

if you need an fla il post one, but any solutions to stopping the sound, the sound is played on the frame itself