# I cant find the issue with this slideshow

**URL:** <https://forum.kirupa.com/t/i-cant-find-the-issue-with-this-slideshow/177767>\
**Category:** flash\
**Created:** [February 5, 2006, 2:49am UTC](https://forum.kirupa.com/t/i-cant-find-the-issue-with-this-slideshow/177767 "2006-02-05T02:49:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nathan99](https://avatars.discourse-cdn.com/v4/letter/n/96bed5/32.png) [@nathan99](https://forum.kirupa.com/u/nathan99)\
**Post date:** [February 5, 2006, 2:49am UTC](https://forum.kirupa.com/t/i-cant-find-the-issue-with-this-slideshow/177767/1 "2006-02-05T02:49:22Z")

</div>

:td: this is stupid! lol I have this slideshow, that blends, works beautifully right up until the 23rd transition then all hell breaks loose!! not sure where the issue is:

This is just a prototype to get the trans perfect, here’s my code

```auto

n = -1;
i = 0;
d = 9999999999;
secondDelay = (seconds=2)*30;
ims = new Array("pic1", "pic2", "pic3");
function swap() {
 this.attachMovie(ims[n], "Pic"+(++i), d--, {_alpha:0, timeOut:secondDelay, onEnterFrame:fadeIn});
}
function cng() {
 n<ims.length-1 ? n++ : (n=-1, cng(), swap());
 trace(ims[n]);
}
function fadeIn() {
 this._alpha<100 ? this._alpha++ : (delete this.onEnterFrame, this.onEnterFrame=countDown);
}
function countDown() {
 this.timeOut>0 ? this.timeOut-- : (delete this.onEnterFrame, this.onEnterFrame=fadeOut, cng(), swap());
}
function fadeOut() {
 this._alpha>1 ? this._alpha-- : this.removeMovieClip();
}
cng(), swap();

```
