Does anyone know if it’s possible to tell a movie clip to play backwards?
very possible:
this.prevFrame();
You can put this into a condition for how you want it to play… ie number of frames to reverse, on a certain event, yadda, yadda… hope it helps.
Peace
if you tell me what effect you are trying to achieve, I could be more specific.
well I have some keyframes that open a subnavigation, and it would be cool if I could close it by just playing it backwards…
on (release) {
//going to the end
_level0.nav_holder.gotoAndStop(“nav_collapse”);
//and then go backwards here… not sure how to do that.
}
function fReverse(mcRef){
mcRef.onEnterFrame = function (){
if(this._currentframe>1){
this.gotoAndStop(this._currentframe-1);
} else {
this.onEnterFrame = null;
}
};
}
to make a movie clip on the _root named ‘hello’ play backwards to frame 1 do this:
fReverse(_root.hello);
hope that helps!
jeremy