Video play/pause button

I am playing an external flv movie. I have made a play button and a pause button - everything works fine.

What I need to do is have it so only one button is visible. When the movie is playing the pause button will show. When the movie is paused - the pause button changes to the play button

Any ideas?