View Full Version : Making letters work
Myctapeiro
January 14th, 2005, 04:20 PM
This is a really stupid question but how do i make letters do something when they're pressed??
cr125rider
January 15th, 2005, 10:04 PM
You can use the Key class. I think it is like if(Key.isPressed = [ascii code]){
I'm not sure if it is "isPressed" or just "pressed" and the ascii code can be found in the Help section or probably online.
Hope that helps,
JoMan
January 15th, 2005, 10:29 PM
You can use the Key class. I think it is like if(Key.isPressed = [ascii code]){
I'm not sure if it is "isPressed" or just "pressed" and the ascii code can be found in the Help section or probably online.
Hope that helps,
Ascii? is that like, 'getURL["mailto: blah blah blah"];'?
Myctapeiro
January 17th, 2005, 02:22 PM
there is no ispressed function for AS2 but there is getAscii() i don't know how it works though
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.