Is there is a way for me to detect if say ‘a’ and ‘b’ are pressed together using AS3.
If they are I can then make a movieclip visible.
Seems simple but I can’t seem to find this out.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Just use Senocular KeyObject class to detect if a key is down or not. Listen for the KeyboardEvent.KEY_DOWN event on the stage, and see if both your keys are down.
That class has a small example usage in the header comments.