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;
}
}