At 10/11/04 06:19 PM, Twistedsoulman wrote:
ok let me basic... I want to make a character and make is so he kicks when i press the "k key" on my keybord. thanks!
1) Make a MC.
2) Set the first frame of it to a standing picture of the character.
3) Put the kick sequence in frames 2-4 (assuming the sequence is 3 frames long)
4) Put a "stop();" command on the first frame of the MC
5) Put a "gotoAndStop(1);" command on the last frame of the MC (the last frame of the kick)
6) Exit the editing of the MC.
7) Place the MC on the stage and select it (single click)
8) Place the following code onto the MC:
onClipEvent(enterFrame){
if(Key.isDown(75) && !pressed){
this.play();
}
if(!Key.isDown(75)){
pressed=false;
}
}
9) Test the movie to see if the code works (hint: 75 is the ASCII code for the "K" key).
10) Work hard to finish the movie and be sure not to submit bull shit to the portal, it gets annoying.
At 10/11/04 06:30 PM, moses_man91 wrote:
now it should launch i/e and on the side frame there is A-Z Symbols and some more stuff, now go look around for codes so you dont have to ask so much...
Alright buddy, I never see you helping out. Leave the n00bs alone and let me handle them. If they want to ask questions let them, it's kinda what this flash forum is about, you know. Stop badgering the n00bs.