Background move and script stoping

well i just want to know how to make the background move so my char can walk in place…this is what i’ve done to try and get it to work…I made some rectangles converted them to a movie clip made there instance name Background then put this AS in the actions

onClipEvent(enterFrame) {
if (Key.isDown(Key.RIGHT)) {
_root.Background._x -= 5;
}
}

I’ve been told thats how you do it, but it still doesnt work…

also a second question if i had a repeating or looping action happening how can i get it to stop…i though it had to do with the break command put i cant figure out how to ger it to work…o the command i used to get it to loop was a " for " command.

thx in advance!