i want to control a movie clip on the stage by keys on the keyboard...

arrow up = forward
arrow down = back
arrow left = spins left (anti clockwise)
arrow right = spins right (clockwise)

also if the object is facing in a diagnal direction then when pressing arrow up, it should head in that diagonal direction..

please help

basically my flash movie looks like a birds eye view of a character running about the stage but has objects in his way.
i also want to know how to make objects that the character cant get passed and that the character cant runn of the stage.