I want to make a sliding gallery that plays a certain amount of frames and stops.
I have this script
this.onEnterFrame = function(){
if(rewind == true && counter > 0){
counter = counter - 1;
prevFrame();
}
else if (rewind == true && counter < 0)
{
rewind = false;
}
}
next_btn.onRelease = function(){
rewind = false;
play();
}
prev_btn.onRelease = function(){
rewind = true;
counter = 8;
}
Instead of play() i have tried putting a counter in like counter 8 but it does not work.
The idea is that if i click the contact button but im on the home page its scrolls over all
other pages and stops on the home page.
Any Ideas?
Thanks
Mat