Join Login

Video Tutorials

Stock Photos from 123RF

Automatic Image Gallery!

By: RiverCityGraphix      Views: 14434      Share: Bookmark and Share

In this tutorial, you will learn how to create an automatic image gallery using timers in Flash CS4.

Many people have requested that I show how to create an image gallery that will cycle through without buttons. I created this gallery using timers to create an interval that will cycle the images at a designated speed. This is a handy tool when creating slideshow style galleries that will run on their own. This timer technique can also be applied to other projects as well such as clocks, ads, etc. If you want to expand on this tutorial, you could add buttons to control the interval or run the gallery. You could even add a rollover that stops the action to allow for longer viewing.

Actionscript 3 (AS3)

var nextImage:Timer = new Timer(2000);
nextImage.addEventListener(TimerEvent.TIMER, playNext);

function playNext(event:Event):void{

Actionscript 3 (AS3) Last Frame

Free Source Files Zip