I have several keyfarmes. Each of the keyframes contain a movie clip. They are controlled by prev and next buttons. Code on the next buttons is:
on (release, releaseOutside){
if (this._currentframe == 1) {
gotoAndStop (this._totalframes);
} else {
prevFrame ();
}
}
and for the prev button:
on (release, releaseOutside) {
if (this._currentframe == 1) {
gotoAndStop(this._totalframes);
} else {
prevFrame();
}
}
The next button works fine but prev button works only on the third click. Any idea why ?
Thanks.
on (release, releaseOutside){
if (this._currentframe == 1) {
gotoAndStop (this._totalframes);
} else {
prevFrame ();
}
}
and for the prev button:
on (release, releaseOutside) {
if (this._currentframe == 1) {
gotoAndStop(this._totalframes);
} else {
prevFrame();
}
}
The next button works fine but prev button works only on the third click. Any idea why ?
Thanks.