Problem with sound

Hello people…

I have a problem with a flash site I’m doing. Boiled down, my problem is this:

You can click a button and you’ll go to a page where you have a play button. When you click the button, it changes to STOP. Then you can go back while this specific “sound” (music) is playing and when you click the button again, it has to take you to the page where the stop button is and not the play button.

So basically it’s a if (specific sound playing) goto… else goto… ? but I can’t figure out how to do it. Can you help me?

thanks… -Rune