Switching Song With Actionscript

How would I switch between 2 sounds in Actionscript?

I need something where depending on a Boolean, a certain song is playing (a loop) and every time you switch, it saves the time so when you go back, instead of it starting at the beginning, it starts where you last stopped.

Say I was playing Sound one and stopped it at 0:25. And when I went back to Sound one it started at 0:25.