I want it so when you press space bar it will show the characters movieclip's third frame of his attack, (frame 4) wich would be like
ok i dont under stand that but ill try to help ya
Onclipevent
Hit key spacebar(code for when you hit key)
gotoandplayframe4(code for sutmin like this)
onClipEvent(enterFrame) {
if (Key.isDown(Key.SPACE)) {
this.gotoAndPlay(3 or 4);
} else {
this.gotoAndPlay(1);
}
}
ok i havent checked that but im sure it will work
the else is saying if the space ISNT pushed iit will show your guy standing or whatever the first frame is