play backwards button
play backwards button
Out of context: Reply #2
- Started
- Last post
- 6 Responses
- chrisRG0
make you button a MC, make you animation inside it, and put a stop(); at the 1st and at the last frame, then put this actions on your MC:
on (rollOver, dragOver) {
this.onEnterFrame = function() {
if (this._currentframe != this._totalframes) {
this.nextFrame();
} else {
delete this.onEnterFrame;
}
};
}
on (releaseOutside, rollOut, dragOut) {
this.onEnterFrame = function() {
if (this._currentframe != 1) {
this.prevFrame();
} else {
delete this.onEnterFrame;
}
};
}
on (release) {
// release
}