Code help with "Photo Slideshow Using XML and Flash"

I have a question about the Kirupa tutoria[color=black]l [/color][size=2][color=black]"[font=Verdana]Photo [/font][/color][/size] [font=Verdana][size=2][color=black]Slideshow Using XML and Flash"[/color][/size][/font][color=black]
[/color]
It currently works great except that I would like for it to stop the slideshow rotation once the user presses one of the buttons. So, once they press a next or previous button, it no longer rotates, but they can still view the others by clicking on one of the buttons.

Is there any line of code I can add to the actionscript to make it stop at the point a button is pressed?