Rotating a MC from 0 to 180 deg working... kind of

Hi, I’ve created some code that rotates an arrow up or down when the user clicks on it, depending on whether the timeline is on frame 1 or 5. The problem I am encountering is that rather than rotating visually, it just flips to the correct degree (in this case, 0 or 180). I’m sure it’d be clear to someone else, but I can’t find my error (this is also my first time coding something in this fashion):


function turndown():Void{
    for(i=0; i<16; i++){
        this.upDownMC._rotation += 11.25;
    }
}
function turnup():Void{
    for(i=0; i<16; i++){
        this.upDownMC._rotation -= 11.25;
    }
}
function goBack():Void{
    for(i=0; i<5; i++){
        this.prevFrame();
    }
}
onEnterFrame = function():Void {
    if(this._currentframe == 1){
        this.upDownMC.onRelease = function(){
            play();
            turndown();
        }
    }else if(this._currentframe == 5){
        this.upDownMC.onRelease = function(){
            goBack();
            turnup();
        }
    }
}

thanks!