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) {
this.changePhoto(-1);
} else if (Key.getCode() == Key.RIGHT) {
this.changePhoto(1);
}
};
Key.addListener(this);