AS2: Slideshow not advancing to the next image

This is a continuation of this post: http://www.kirupa.com/forum/showthread.php?t=322475

I wouldn’t post a second time, but the deadline for this project is approaching quickly (and I fear that cbeech has moved on, determining that my problem has been resolved since i was on vacation last weekend).

cbeech was very helpful with me and the code, but I seem to be having another problem. The first photo now fades in and out beautifully… but the next image does not fade in. The first image just continues to fade in and out.

Thanks for any help!

stop();
import mx.transitions.Tween;
import mx.transitions.easing.*;

var photos = [photo1, photo2, photo3, photo4, photo5, photo6];
var index = 0;

var time:Number = 4000;
var timer:Number;

var fadeTime:Number = 2;

for(var i=0; i<photos.length; i++) {
  photos*._alpha = 0;
}

function setTimer() {
  clearInterval(timer);
  timer = setInterval(fadeOut, time);
}

function fadeOut() {
  clearInterval(timer);
  var transOut = new Tween(photos[index], '_alpha', Strong.easeOut, 100, 0, fadeTime, true);
  transOut.onMotionFinished = function() {
    index = (index < photos.length-1) ? index++ : 0;
    fadeIn();
  }
}

function fadeIn() {
  var transIn = new Tween(photos[index], '_alpha', Strong.easeOut, 0, 100, fadeTime, true);
  transIn.onMotionFinished = function() {
    setTimer();
  }
}

fadeIn();

fla: http://www.megaupload.com/?d=NFGZVXYU