я вот так сделал и все равно не работает...

Код:
square._alpha = 0;
whichPic = 1;
a = new Array();
var mcLoader:MovieClipLoader = new MovieClipLoader();
var mcListener:Object = new Object();
mcListener.onLoadError = function(){
if(square.getBytesLoaded() == 0){
whichPic = 1;
}
}
mcLoader.addListener(mcListener);
this.createEmptyMovieClip("square", this.getNextHighestDepth());
mcLoader.loadClip("images/image"+whichPic+".jpg", square);
my_interval = setInterval(automat, 1000);
function automat() {
if (!fadeIn && !fadeOut) {
fadeOut = true;
whichpic++;
input = whichPic;
}
}
onEnterFrame = function() {
if (square._alpha>3 && fadeOut) {
square._alpha -= 3;
}
if (square._alpha<3) {
fadeOut = false;
fadeIn = true;
}
if (square._alpha<100 && fadeIn && !fadeOut) {
square._alpha += 3;
} else {
fadeIn = false;
}
};
если все равно не так, укажите на ошибку, я просто хочу понять