Problem with basic movement of objects

i made a button with the script of onMouseevent key press up that would do “_x = x+1”
and it worked with exception of the fact that it would only work once.
I made those for up down left and right and i could go up down up down and so on but i could only hit the button once before i had to hit the opposite direction.

I am using flash 5.
Any help would be greatly appreciated.

Welcome to kirupaForum, yeloshu. :slight_smile:

Isn’t there an underscore missing?

_x = _x+1;