Simple image gallery references request


I need a simple image transitions script that reads images from some directory and automatically fade between images. There should be also as many buttons as images (somewhere on the stage) with jump to image function.

Has anyone got any references or built similar script?

Thank you very much!