Photo Slideshow

I’m currently working on a flash slideshow project for a website. I plan on having several photos (possibly 10-15) to be displayed at different times. So naturally I have a Timer event that triggers every 5 seconds. Eventually I need to figure out a way to make the photos random, so that every time you go to that page of the website it doesn’t show you the photos in the same order. But anyway…my question is this…

I want to have a photo be there when it first begins, and then for every photo after that I want it to tween off stage as another comes onto the stage simultaneously. Can you apply two functions to a Timer? I’m assuming that I’ll have to use an array of some sort for the photos in order for this to work.

Any help?

Here is my code so far:

import gs.*;

var timer:Timer =  new Timer(5000);
timer.addEventListener(TimerEvent.TIMER, onTimer);
timer.start();

function onTimer(evt:TimerEvent):void 
{
    TweenLite.to(photo_1, .5, {x:600, y:0, ease:Back.easeInOut});
}