Key presses: a hard thing

i cannot understand keypresses from the actionscript diactionary at all!

ive got a mc and i want it to move left when a certain button (left arrow) is pressed. i cannot figure out how to to this because when i drag the “on key down” script out of the action script diactionary, beside it says <not set yet>

wut does that mean and can anyone help me with my actionscript??

ok, draw a box. highlight the box and hit F8. Give it a name of “button” and click on “movie clip.” Now click on the (now movieclip) box, and look in the lower left properties. see where it says “instance name” give it the instance name of box_ mc. now draw a circle, highlight it, press F8, name it circle, select movie clip, click on it (now a movie clip), look at properties > instance name and name it circ_mc. ok, now click on the first frame of your timeline and hif F9 to open the actions panel (if it isnt already open) then you are going to want to type (or copy and paste) this.


leftdet = 10;
circ_mc.onPress = function(){
_root.box_mc._x-=leftdet;
}

I have attached a version with some more things you can do with this these things.(edit: wow, that is some HORRIBLE grammer, I must have been REALLY tired last night)

http://search.atomz.com/search/?sp-advanced=1&sp-q=Key%20press&B1=search&sp-a=00040c2f-sp00000000&sp-w-control=1; :trout: