Forum Topic: helpp As

(75 views • 6 replies)

This topic is 1 page long.

<< < > >>
None

Feuse

Reply To Post Reply & Quote

Posted at: 3/30/08 11:37 AM

Feuse DARK LEVEL 13

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.


None

MitochondriaMan

Reply To Post Reply & Quote

Posted at: 3/30/08 11:50 AM

MitochondriaMan EVIL LEVEL 07

Sign-Up: 02/11/08

Posts: 187

what?

I WILL EAT YOU

BBS Signature

None

kernalphage

Reply To Post Reply & Quote

Posted at: 3/30/08 11:54 AM

kernalphage NEUTRAL LEVEL 10

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!

BBS Signature

None

Feuse

Reply To Post Reply & Quote

Posted at: 3/30/08 11:55 AM

Feuse DARK LEVEL 13

Sign-Up: 02/02/08

Posts: 264

i mean like..

if(Key.isDown(Key.RightClick))

that is what i need what is the name of the right click??

IM HERE RELAX.


None

Woadraiders

Reply To Post Reply & Quote

Posted at: 3/30/08 12:02 PM

Woadraiders DARK LEVEL 11

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

BBS Signature

None

West-End-Pro

Reply To Post Reply & Quote

Posted at: 3/30/08 12:03 PM

West-End-Pro NEUTRAL LEVEL 23

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)){


None

Bobby444

Reply To Post Reply & Quote

Posted at: 3/30/08 12:54 PM

Bobby444 DARK LEVEL 05

Sign-Up: 12/03/07

Posts: 848

You should put this on too:

_root.ContextMenu=false

I think that's it.

OMG FISH

BBS Signature

All times are Eastern Standard Time (GMT -5) | Current Time: 07:27 PM

<< Back

This topic is 1 page long.

<< < > >>
You need a Grounds Gold Account to post on the NG BBS! If you don't have one, click here to sign up now! It's fast, free, and easy — and opens up tons of great NG features!