Hi
This is probably a very simple actionscript question I am using CS3 on an AS2 movie. I want to make a simple audio level bar and I created a movie clip with ten frames and ten squares that appear in a line. On each frame you can see one more square i.e. from 1 to 10.
What I want is to have a + button on the main time line and every time it is pressed it advances on the frame of a movie clip called loader_mc to the next frame. Similarly if I press minus button the movie clip goes back a frame.
Can anyone help me out with this.
This is the actionscript i tried but it only works once. It doesn’t keep moving on each frame.
on (press) {
_root.loader_mc.gotoAndPlay(_currentframe+1);
}
I think a for loop would do the trick but not quite sure of the syntax in AS2