How limit taking of keys in AS3?

Hello world. I need to capture the keys on the keyboard for my application, but I whant to capture more than just letters: a - z and also focus '''. Dose anyone know how to capture this letters and ignore any other? Thanks in advance.

Concerning

stage.addEventListener (KeyboardEvent.KEY_UP, checkKey);

function checkKey(evt:KeyboardEvent):void {}

If ((evt.keyCode > = 65 && evt.keyCode))<= 90)="" ||="" evt.keycode="=">

trace (evt.keycode);

}

}

If you want to know what is the code for other keys just put outside the conditional trace instead of inside

Tags: Adobe Animate

Similar Questions

  • How to remap the keys FN on Satellite Pro nb10t

    Hello

    I got a nb10t Satellite Pro, good machine but key card looks really bad for me, [Home] and [end] keys are really far from arrows, really narrow [Tab] key, slowing really office work.

    How can I remap keys, for example to the value [home] [Fn] + [above], and {End] to [Fn] + [down]?}

    Found RemapKey Microsoft, but does not have the FN key.

    Thank you

    According to the mode settings special function key, you can use the function key (F key) with or without pressing the FN key extra.

    Details here
    http://APS2.toshiba-tro.de/KB0/HTD2503B90001R01.htm

    The FN key seems to be a characteristic of Toshiba and I don t think you could remap the FN key.

    However, you can try to install the Remapkey.exe that is part of the Windows Server 2003 Resource Kit. The remapkey should allow you to change the functionality of the button.

    Also, the 3rd third-party tool like autohotkey would be good enough to make this work.

  • Satellite A40: How to reinsert the key on the keyboard

    Help...

    a key on my keyboard has extracted out.
    I knew nothing was broken.
    Does anyone know how to reinsert the key on the keyboard?

    Is there guidance on the internet?
    Or did someone knows how much cost a repair would be?

    It would take to leave my computer to the support office longer? Cannot work / live without my cell phone!

    Hi and thanks,
    LorelaiCk

    Hello

    Do you mean the PAC?
    The key caps are removable and it of very simple to remove or return on the keyboard.
    Push the CAP key to set the CAP over the keyboard.
    All that s

  • Satellite C850-178 - how to remove the keys from keyboard for cleaning?

    Nice day!

    Recently, I accidentally spilled juice my * Toshiba C850-178 * laptop keyboard and some keys are now sticky or difficult to press.

    I would like to know how to clean sticky keys.
    I've been looking for a way how to remove the keyboard, but I've not been successful.

    Please help me.
    Thank you.

    Hello

    You can ONLY remove the key caps.
    The keyboard cannot be deleted.

    Here are some interesting videos I found on youtube,
    http://www.YouTube.com/watch?v=o8vpX1t_jSc

  • Satallite A100: How to replace the keys?

    Is there a manual on how to replace the keys once they come out?

    My Satallite A100, a year, lost two keys a few weeks ago, and I am unable to replace them, even if I have all the parts (little). It got even worse when some more broke recently, when my grandson some peeled off, using exhibit created by the keys already disappeared.

    Thank you!

    Hello Mike

    Read your ad I don't understand exactly what is wrong with your keyboard but deleting and creating keycaps (plastic with written symbol) is not problematic. You have to just put this right into place and push it gently. You will hear a click and the key CAP will be back to the square.

    Under this cap is placed small plastic mechanism. It contains two small plastic parts. If they are deleted from the bottom, you can put them inside once again. To see how it looks like to remove any other key cap and see how it is placed.

    I did the same today, and with a little patience you can put it in the right position again.

  • Hi, I bought a windows xp disk Professional Microsoft a few years ago but never used it how can I cd key for the disc

    Hi, I bought a windows xp disk Professional Microsoft a few years ago but never used it how can I cd key for the disc

    If you bought a copy the retail of Windows key should be included in the box.

    How to get a replacement product key

    Retail Windows:
    If you have lost a product key for the software you purchased separately from your computer, or if your product key does not work, call Microsoft. To locate the phone number, visit the following Microsoft Web site: http://support.microsoft.com/default.aspx?scid=fh; CNTACTMS

    A fee may apply for lost keys.

  • How can you reasign keys for Microsoft Wireless Keyboard 1000

    How can you reasign keys for Microsoft Wireless Keyboard 1000. When I type the letter y number 6 is?

    Try this link: http://www.microsoft.com/hardware/en-us/d/wireless-keyboard-1000

    Scroll to the bottom of the page of the instruction manual.

  • How to find my key for microsoft office that came with my laptop?

    How to find my key for microsoft office that came with my laptop?

    Thank you. I guess I'll have to buy a new copy.

  • I found an old vista home basic dvd with a key, how can check whether key works but not install it?

    I found an old vista home basic dvd with a key, how can check whether key works, but not install it? some dvd install can be live boot from themselves too [password required for a direct start?]?

    Hello

    You must install it to see if it is legal to do so.

    There is no public database of product keys.

    See you soon.

  • Have laptop Gateway w/Vista. How to turn blue keys?

    Have laptop Gateway w/Vista.  How to activate the keys on the keyboard blue alpha.  Blue keys appear as function keys.

    Have laptop Gateway w/Vista.  How to activate the keys on the keyboard blue alpha.  Blue keys appear as function keys.

    See if this article can help you.
    How to unlock the function keys...

    http://www.ehow.com/how_4968993_unlock-function-key-laptop.html

  • How to associate the key function on thinkpad T61p

    How to associate the key function on thinkpad__Fn Key__Hibernate mapping of keys for Lenovo Thinkpads

    How to map the keys "Fn F4" on my Thinkpad T61p to keyboard MS Wireless Comfort Keyboard 5000 to Hibernate?

    Your Thinkpad keyboard doesn't have access to the MS Wireless Comfort Keyboard 5000 drivers, firmware and add the functioon of Microsoft for the Thinkpad (and vice versa).

    Here is an article on how to remap the keys in Vista (with a link to a program that will help): http://www.howtogeek.com/howto/windows-vista/map-any-key-to-any-key-on-windows-xp-vista/. I don't know if this works with the function keys, but it's worth a try.

    I hope this helps.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • How can I disable keys

    How can I disable keys such as CTRL + ALT + down arrow?  I use this combination quite often in another program and whenever I do, it flips my screen upside: (.)  I tried to open gpedit.msc and go to user administration models, components Configuration Windows, Explorer Windows and help turn off Windows + X Hotkeys, but that did not help.

    DonK!  The short cuts keyboard of windows are all combinations of the Windows key + something else, for example Windows + L will change user.  The CTRL + ALT + Basel is a shortcut for graphics.  To disable them, just do a right click anywhere on your screen and select Graphics Options, then keys shortcut, then clear.  Problem solved.

  • How to set the key numb to activate at startup

    How to set the key numb to activate at startup on computer laptop gateway running windows 7?

    Original title: numb locking button

    Hello Wan,

    Thanks for the quick response. We appreciate your time and your efforts.

    By default the NUM LOCK status is the same as it was before you shut down the computer properly. If it is on when you shut it down it will be on when you turn on the computer again.

    A few users have solved this problem by disabling fast boot option in the BIOS (Basic Input Output System). I would ask disable youFast Boot to the BIOS and check if that helps.

    For more information about how to disable Fast Boot in the BIOS, I would ask you to contact the manufacturer of the system.

    Note:

    BIOS change / semiconductor (CMOS) to complementary metal oxide settings can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the configuration of the BIOS/CMOS settings can be solved. Changes to settings are at your own risk.

    Hope the helps of information provided. Let us know the results and do not hesitate to post on the Microsoft Community, in case you have problems when you are working on Windows.

  • How to get the key to RIM

    Hi, am new to development. I received the debugging token (bbidtoken.csk).

    Please someone help how to get the keys to the RIM (.csj key).

    Give me the link to register for the key LSB.

    Thank you...

    Now the key to the rim was not necessary to sign...

    https://developer.BlackBerry.com/native/documentation/Cascades/Getting_started/tools/signing_and_pub...

  • How to detect the key ALT pressed in os7

    Hai,

    How to detect the key ALT pressed in Os7...

    Can I use the source for os 7 as below? ,

    protected boolean keyStatus (int keycode final, time final int) {}

    If (Keypad.key (keycode) == Keypad.KEY_ALT) {}

    ...

    Returns true;

    } else

    Return super.keyStatus (keycode, time);

    }

    and also I want to know which is the return of this method? In detail
    How to detect the other touches also?
    What are the updations or changes in the code, on os6 os7?

    KeyCode is a bit model, if you use "is" to compare you won't get accurate results, you should use the operator '& '.

    See
    http://supportforums.BlackBerry.com/T5/Java-development/detect-ALT-and-shift-key-clicks/Ta-p/444976

Maybe you are looking for