USERNAME:
PASSWORD:
Save Info!
Logging in…
This topic is 1 page long.
[ Profile | Posts | Contact ]
Posted at: 3/30/08 11:37 AM
Sign-Up: 02/02/08
Posts: 264
i need the number of mouse 2 (right click)
to make that when i right click it will show something P:
IM HERE RELAX.
Posted at: 3/30/08 11:50 AM
Sign-Up: 02/11/08
Posts: 187
what?
I WILL EAT YOU
Posted at: 3/30/08 11:54 AM
Sign-Up: 01/02/07
Posts: 2,331
At 3/30/08 11:50 AM, MitochondriaMan wrote: what?
helpful post.
if(Key.isDown(2))
i think is the test for the right mouse click. just remember that the regular right click menu will still show.
my art.,any requests?Art tech support! pm me if i should start a webcomic. 10+ people think so!
Posted at: 3/30/08 11:55 AM
i mean like..
if(Key.isDown(Key.RightClick))
that is what i need what is the name of the right click??
Posted at: 3/30/08 12:02 PM
Sign-Up: 11/11/07
Posts: 561
You need the key code, things like Key.RIGHT and Key.LEFT are built in as variables that have the key code for those buttons.
So, if(Key.isDown(2)) is what you are looking for, try it.
Mibbygames.com panterA
Posted at: 3/30/08 12:03 PM
Sign-Up: 02/15/06
Posts: 2,398
At 3/30/08 11:55 AM, Feuse wrote: i mean like.. if(Key.isDown(Key.RightClick)) that is what i need what is the name of the right click??
No...
if(Key.isDown(2)){
Posted at: 3/30/08 12:54 PM
Sign-Up: 12/03/07
Posts: 848
You should put this on too:
_root.ContextMenu=false
I think that's it.
OMG FISH
All times are Eastern Standard Time (GMT -5) | Current Time: 07:27 PM
<< Back