Pause and play buttons in Flash slideshow

Hi

I have created a slideshow with Flash following one of the tutorials of this site. Images loaded from XML file.
The slideshow loops and I was wondering if anyone knew how to create pause and play buttons.

Many thanks

S.