onClipEvent(load) {
speed = 5;
}
onClipEvent(enterFrame) {
if (key.isDown(key.RIGHT)) {
_x += speed;
} else if (key.isDown(key.LEFT)){
_x -= speed;
} else if (key.isDown(key.UP)){
_y -= speed;
} else if (key.isDown(key.DOWN)){
_y += speed;
}
}


This is what I am using to make the character move, I am just testing this thing. I don't get one thing, what if I wanted to make the right arrow key make it go up? I do not see any reference to the direction except for the key and the negative and positive.

I know how to change left into right, and vice versa, and the same with up and down. Just wondering what makes it change so I can make the right key move the Symbol upwards.

Thanks.