So I have been working on my site for a week or so now, just teaching myself flash and I am running into one last hiccup. My site is for my photography, and at the bottom of the picture, I have a rollover button that displays the caption that goes with the photo. The rollover works fine, but the problem is that when I click the next symbol to advance to the next caption, it skips to the last caption in the sequence and only displays that one, until I go all the way to the end of the 19 images, and on the way back, it starts displaying the captions correctly. Also, the first caption is displayed as "undefined."
It seems if you trace(i) at the bottom of the code of frame 3, it traces: 20, so "i" is set to 20 somehow. I also noticed that you use the variable "i" alot in the same frame.
"i" is a local variable, so it shouldn't be used more than once outside of any functions or statements.
just change your variable "i" to "a" like so, so that other statements won't affect it.