-
ASCII code for Left Mouse Button?
What is the ASCII code, if any, for the left mouse button?
I want my character to shoot, without having to use:
onClipEvent(enterFrame) {
if(key.isDown(key.CONTROL)) {
this.gotoandstop("gunfire");
}
It works fine, but it is a graveyard of boring.
I finally got my character to run and rotate properly, and now I just want to use the mouse button to make the character shoot.
Can anyone help?
-
Ah:
onClipEvent(mouseDown) {
blah
}
Thanks anyway.
Last edited by Person99; 03-04-2007 at 05:59 PM.
Reason: Because I can
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
|