Key.getCode not working too well

    if (Key.isDown(Key.getCode("S")) && paddle1_mc._y<360) {
        paddle1_mc._y += 8;
    }
    if (Key.isDown(Key.getCode("W")) && paddle1_mc._y>40) {
        paddle1_mc._y -= 8;
    }

Why isn’t that working? If I remove one of them, then it will work, but with both, nothing happens! Why’s this?