okay, okay. I just can’t get this autoslideshow to stop. I would really appreciate any help you may have.
And for the curious and critical, pIndex is set to -1 rather than 0 because the load starts with the 2nd jpg if I don’t. Also, I removed “loadMovie(pathToPics+pArray[0], _root.mask_mc);” because I couldn’t make it fade up on load. If you care.
It does work actually, but I should look at that duplicate set interval. Anywho, how do I accomplish this without a button, i.e. stopping after the number of pic’s in the array??
hmm, that didn’t work. Tried that in a number of locations + variations. Will an actual value like “8” work, or does this code just see +1?
"(btw why you changed all the prototypes in normal functions?)"
If you mean removing the _root, I did that because this is to be loaded into another movie. Didn’t seem to effect anything. Is that “bad” or just strange.
hey stringy, that did work, but oddly. I get an error “Error opening URL “file:///BACKUP/images/intro/””
I don’t think this is doing anything.
– } else if (Pindex>Parray.length) {
delete this.onEnterFrame; –
I think that the slideshow stops because something isn’t found. Kind of like extending the array to include a 9th image, but not placing one in the folder. But, perhaps that is a solution.
hmmm, It did the same as what I had before. Remove the pic9.jpg from the array and try it. This was why it stopped for me, an error in it’s quary for a non-existant jpg. When I remove pic9.jpg it just keeps looping. But, as i said, this may work because the end user wouldn’t know.
Yah, I changed fps to 1 because I couldn’t get the file size down, forgot to save&compress.
your a Prince and a Scholar. That worked perfectly. By the by I spent a lot of time looking for existing comments on a function similar to this on various flash sites before I posted a question and this same issue came up a number of times. Your the ONLY one who could come up with a solution.