Whats wrong with this code?

onClipEvent(enterFrame){
      


    if (Key.isDown(Key.LEFT)){
        this.gotoAndStop("Walking")
        this._x -= speed;
        this._yscale = 100
    
    }
    if (Key.isDown(Key.RIGHT)){
        this.gotoAndStop("Walking")
        this._x += speed;
        this._yscale = -100

    }
    if (Key.isDown(Key.UP)){
        this.gotoAndStop("Walking_up")
        this._y -= speed;
        

    }
        if (Key.isDown(Key.DOWN)){
        this.gotoAndStop("Walking_up")
        this._y += speed;
        this._rotation = 180

    }
}

see whats happening is, it walks left a right perfectly and when u press up (the down isn’t working like its not rotating for some reason). just try the code out urself, and watch wat happens its to hard to explain. Please tell me how to fix it