Help! (fmx) - change variable -

I’m having some trouble with changing the value of my variable.

//I declare my variable in the first frame of the _root timeline.

currentSlide = 1;

When the _root movie plays it stops on a movie clip that contains four sub movie clips each is labelled sequentially( slide1, slide2, slide3 and slide4). I would like to know how to increase the value of my variable by 1 each time it progresses to the next slide. I can’t seem to get the variable currentSlide to change its value.

can anyone help?

Hi;

_root.currentSlide ++;

is this what u mean?

SHO