Create Photo Slideshow setInterval

As a complete newbie to action scripts & flash for that matter, I have completed the slideshow tutorial and wanted a way to have it automatically move to the next image without having to use the arrow keys.

I’m not sure of the correct way to replace this code:

this.onKeyDown = function() {
    if (Key.getCode() == Key.LEFT) {
    } else if (Key.getCode() == Key.RIGHT) {