[AS2] Stop alpha fade from looping

Hey Guys -

I have an AS where I’m pulling in images to two possible empty movieclips based on whether it’s a plain “image” or if it’s a “video” image which will then create different actions later. But the problem I’m having now is that I want the images that are pulling in to gradually load - which works fine… but I noticed that after a couple of minutes it seems to LOOP! So the images disappear, then a couple minutes after that the images fade in again like the did in the beginning. Any suggestions? My code is below:


this.onEnterFrame = function() {
picture._alpha += 5;
picture1._alpha += 5;
picture2._alpha += 5;
picture3._alpha += 5;
picture4._alpha += 5;
picture5._alpha += 5;
picture6._alpha += 5;
picture7._alpha += 5;
picture8._alpha += 5;
picture9._alpha += 5;
if (vidimage[0] != undefined) {
video._alpha += 5;
picture._alpha = 0;
}
if (vidimage[1] != undefined) {
video1._alpha += 5;
picture1._alpha = 0;
}
if (vidimage[2] != undefined) {
video2._alpha += 5;
picture2._alpha = 0;
}
if (vidimage[3] != undefined) {
video3._alpha += 5;
picture3._alpha = 0;
}
if (vidimage[4] != undefined) {
video4._alpha += 5;
picture4._alpha = 0;
}
if (vidimage[5] != undefined) {
video5._alpha += 5;
picture5._alpha = 0;
}
if (vidimage[6] != undefined) {
video6._alpha += 5;
picture6._alpha = 0;
}
if (vidimage[7] != undefined) {
video7._alpha += 5;
picture7._alpha = 0;
}
if (vidimage[8] != undefined) {
video8._alpha += 5;
picture8._alpha = 0;
}
if (vidimage[9] != undefined) {
video9._alpha += 5;
picture9._alpha = 0;
}
};

Thanks in advance!

M.