how to make keypress in AS2?example: if i press "A" in keyboard, appears animation button "A" in keyboard flash have been made previously.
keypress in flash
Page 1 of 13 Replies - 3611 Views - Last Post: 06 October 2012 - 07:14 AM
Replies To: keypress in flash
#2
Re: keypress in flash
Posted 30 April 2012 - 02:45 AM
What have you attempted already?
#3
Re: keypress in flash
Posted 25 June 2012 - 01:14 AM
Have you tried using
if (Key.isDown (Key Value Here))
#4
Re: keypress in flash
Posted 06 October 2012 - 07:14 AM
//87 = W//83 = S // 65 = A // 68 = D
if (Key.isDown(87) || Key.isDown(65) || Key.isDown(68) || Key.isDown(83)) {
// key detected
}
if (Key.isDown(87) || Key.isDown(65) || Key.isDown(68) || Key.isDown(83)) {
// key detected
}
Page 1 of 1
|
|

New Topic/Question
Reply


MultiQuote




|