Allright people..... I've got a little problem with an actionscript..... here it comes....
onClipEvent(load){
speed=10; stop();
}
onClipEvent (enterFrame) {
if (Key.isDown(Key.RIGHT)){_x+=speed; gotoAndStop(1);}
if (Key.isDown(Key.DOWN)){_y+=speed; gotoAndStop(2);}
if (Key.isDown(Key.LEFT)){_x-=speed; gotoAndStop(3);}
if (Key.isDown(Key.UP)){_y-=speed; gotoAndStop(1);}
}
It's from the AS: BASIC MOVEMENT forum, for those who can find the part that is wrong in this script, pat yourself on the back =), I allready knew it, and that's not the point... Frame 1, 2, 3 and (in this script) 1.... (yup, that's it, should be 4...) Are WALKING animations, how do I make my character like, play frame 5 if I release Right??
Thank ya'll in advance <3
Erik from Dipshit Productions