While the above is the best way to go PowerPoint can react to the new slide in a slide show using
[vba]Sub OnSlideShowPageChange()
'Do something
End Sub[/vba]It is a little flaky though and you may need to call it manually once and then it should fire with every new slide.