Forum Topic: AS help

(113 views • 2 replies)

This topic is 1 page long.

<< < > >>
Shouting

DannyMac910

Reply To Post Reply & Quote

Posted at: 5/25/06 09:21 PM

DannyMac910 NEUTRAL LEVEL 05

Sign-Up: 01/08/06

Posts: 24

what script would i use so that if i hit a key it would trigger a new scene?


None

Pyromaniac

Reply To Post Reply & Quote

Posted at: 5/25/06 09:24 PM

Pyromaniac EVIL LEVEL 18

Sign-Up: 01/14/05

Posts: 2,968

What key?

onEnterFrame=function(){
if(Key.isDown(#)){
_root.nextScene();
}
}

Change # to the key. A=65 B=66 C=67, ect. Otherwise, use Key.SPACE or Key.ENTER, ect.

You could also use a key listener.


None

DannyMac910

Reply To Post Reply & Quote

Posted at: 5/25/06 09:32 PM

DannyMac910 NEUTRAL LEVEL 05

Sign-Up: 01/08/06

Posts: 24

any key dosent mater


All times are Eastern Standard Time (GMT -5) | Current Time: 07:47 AM

<< 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!