Play/Pause Music with Single Button?

'm extremely new to Flash and I don’t really know how to code yet… I’m making a website and want to have a single button that when pressed either plays or pauses the music file.

I found a tutorial that worked but it has two buttons (one for play and one for stop). You can see the tutorial here:

http://www.aevision.com/tutorials/flash_pause_p3.htm

I’m hoping that someone can tell me how I might be able to change the code so that a single button acts as both play and pause (i.e.; If music is not playing then play, if music is playing then stop).

Thanks!