# Why it´s only appears 9 images

**URL:** <https://forum.kirupa.com/t/why-it-s-only-appears-9-images/68626>\
**Category:** flash\
**Created:** [October 27, 2004, 2:00pm UTC](https://forum.kirupa.com/t/why-it-s-only-appears-9-images/68626 "2004-10-27T14:00:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Only\_Dust](https://avatars.discourse-cdn.com/v4/letter/o/f1d935/32.png) [@Only\_Dust](https://forum.kirupa.com/u/Only_Dust)\
**Post date:** [October 27, 2004, 2:00pm UTC](https://forum.kirupa.com/t/why-it-s-only-appears-9-images/68626/1 "2004-10-27T14:00:47Z")

</div>

Another problem.  
I have a project of slideshow of images, it this with some defects, example, I have 10 pulled images being, but in the first time that I bring up to date one f5 in the HTML or Ctrl+enter in the flash, it alone he shows to 9 images it to me does not show the second image, and he finishes it is blank, does not appear nothing, but if I to leave it twirling, in the second time it shows the second image but he finishes it continues blank, acontence always, exactly if in param of the HTML I to only place 3 images, happens the same thing, follows the action.

imagem = new Array (\_root.i1, \_root.i2, \_root.i3, \_root.i4, \_root.i5, \_root.i6, \_root.i7, \_root.i8, \_root.i9, \_root.i10);  
var QtdImagens = 0;  
while (QtdImagens\<10 && imagem[QtdImagens] != null)  
{  
QtdImagens++;  
}  
ImagemAtual = 0;  
loadMovie (ExtDef (imagem[ImagemAtual]), “principal\_mc”);  
function someName ()  
{  
ImagemAtual == QtdImagens ? ImagemAtual=0 : ImagemAtual++;  
loadMovie (ExtDef (imagem[ImagemAtual]), “principal\_mc”);  
}  
var ImagemAtual = 0;  
ImagemAtual = setInterval (someName, 6000);  
stop ();  
function ExtDef (s)  
{  
if (s.indexOf (’.’) == -1)  
{  
return s+’.jpg’;  
}  
else  
{  
return s;  
}  
}
