|
-
14yr old Member
i know
put this code into a movie clip and press any key to fing the code
onClipEvent(keyDown) {
trace("Key Pressed" + Key.getCode());
}
this code will help
65 = a key
if(Key.isDown(65 && 83){
//do something
}
it sais that if the a and s key are down it does something
if you want an or statement replace the && with || and if the a or s key is down do something
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|