JPEG XML slide show

I have made a JPEG Xml slideshow as the macromedia support one ( http://www.macromedia.com/support/flash/applications/jpeg_slideshow_xml/jpeg_slideshow_xml03.html)

I would like to make the jpeg images play through the slideshow automatically as well as by clicking
to them (which stops the auto play)

I think i need to use getTimer or setInterval ?

Thanks in advance
Welly