Hello, how would you do this? i need to get the dude going forward on actionscript and assign keyboard input.
Try:
on(keyPress "<Right>"){
this._x += 4;
}
its not workin'
all right its workin now, had to select the object first and then click "actionscript 1.0 and 2.0"
The value of 4 was an arbitrary choice just to show an example. That value will dictate how fast the movement occurs, so change it as you wish.
thanks, now if I want to do the same for left and up arrows at the same time how does it go?