Keyboard Even (key down) not working on Mac

I have been using this AS3 code to detect keyboard arrow presses:
Global function keyDownHandler(event:KeyboardEvent):void {
    trace("keyDownHandler: " + event.keyCode);
    trace("ctrlKey: " + event.ctrlKey);
    trace("keyLocation: " + event.keyLocation);
    trace("shiftKey: " + event.shiftKey);
    trace("altKey: " + event.altKey);
    if(event.keyCode == 39 ) {
        nextFrame();
        //zoom_pics.nextFrame();
    } else if(event.keyCode == 37 ) {
        prevFrame();
        //zoom_pics.prevFrame();
stage.addEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler);
My customer/client says that the navigation isn't working on their Mac. I've published the SWF with an HTML file. It works fine on my PC. Has anyone seen this also? Does anyone have a solution?

The browser window has to be in focus. Tell your user that they need to actually click on the browser window first, so that the keystrokes will be used by the browser.
Alternately, you can force the focus by starting your movie with something that the user has to click on to begin. This will bring the keyboard focus to the browser window.

Similar Messages

  • USB keyboard shift keys suddenly not working

    For some reason, when I woke up my MacBook Pro this morning, both shift keys on my aluminium USB keyboard were not working. I'm using the keyboard with a Magic Mouse and LED cinema display connected to my MacBook. When I hold either shift key in combination with any other key, either nothing is typed, or there will be random characters typed, occasionally.
    I ran AppleJack on auto to see if there were any problems. There were a few preferences it corrected, but nothing major was wrong. I connected the keyboard to a friend's MacBook Pro, and the shift keys did not work on his machine either. Caps Lock does work. I've tried canned air. I don't remember spilling anything on it.
    Any idea about what I can try to get it working, or is it broken? Thanks,
    -Jeff

    Try resetting the PRAM. Info here:
    http://docs.info.apple.com/article.html?artnum=2238

  • Apple aluminum keyboard w/o keypad not working with Mac Mini

    I'm in the process of reconfiguring our old Mac Mini to run some of our old games that no longer run on the newer Macs. We had a spare Apple aluminum keyboard (without the numeric keypad) which I thought I'd use with the Mini. The alphanumeric keys work fine, but the function keys don't seem to. (In particular, I can't get the volume keys to work.)
    I've checked my keyboard settings in System Preferences. Software Update shows everything up-to-date.
    The aluminum keyboard WITH the numeric keypad works fine with the Mini. Also the keyboard without the keypad works properly with my Intel iMac.
    Does anyone know what's going on?

    Hi,
    am I right in assuming that you are talking about the Wireless Aluminum Apple keyboard ?
    If so, the 2009 version of it requires OSx Leopard 10.5.8 to work properly.
    http://support.apple.com/kb/HT1809
    The 2007 version of that keyboard requires at least OSX Tiger 10.4.10 plus this keyboard software update http://support.apple.com/kb/HT2394
    Maybe downloading and apllying the update can help.
    Regards
    Stefan

  • Keyboard volume keys are not working

    I had to buy a new keyboard for my imac, and the volume keys won't work. At first they were bringing up things like the dashboard, but I figured out how to disable that in the keyboard shortcut settings -- now when I press them nothing happens at all. I read somewhere else that if you bought a new keyboard for your old mac you have to update to lion to get the volume keys to work?! Is that right? My parents both have lion OS and I really don't like it, so I don't want to update.. is there any way around this so I can stick with snow leopard?

    According to the spec sheets for the Apple keyboards currently available in the Apple Store, "Minimum System Requirements" state OS X 10.6.8 or later -
    Wireless - Apple Wireless Keyboard - Apple Store (U.S.)
    Wired -  Apple Keyboard with Numeric Keypad - English (USA) - Apple Store (U.S.)
    So, if you update to OS X 10.6.8 you should be OK. You can do it in one step via the Combo update -
    Mac OS X 10.6.8 Update Combo v1.1

  • Eject key is not working on Mac Pro

    I just replaced an Optiarc SuperDrive with a Pioneer SuperDrive that Apple sent me as a replacemant for my Mac Pro [Early 2008]. The Eject key on my keyboard worked with the Optiarc, but no longer works with the Pioneer replacement.
    I tried Zapping PRAM, and I did a PMU reset. None of that worked.
    I did the CoreServices thing, which is a good temporary solution, but it is not as good as having the Eject key working. Eject buttons do work in most other applications, etc.
    It is definitely not a faulty keyboard. In fact, when I press the Eject button, it is not grayed out. Leopard seems to be understanding the keyboard and attempting to execute the command to Eject the SuperDrive's tray, but the SuperDrive is not responding the Keyboards command.
    Any solutions?
    TIA

    All EIDE / ATA (Parallel) devices (drives, opticals) allowed for two such drives or devices on one bus. The old style was "master" and "Slave" but CS is a "smart" approach, however, the master or only device must be on the end position. Also, the end connector will be black, the middle (slave) is gray.
    Eject sends signal to master
    To eject the "slave" device you use a modifier key.

  • F6 keyboard lighting key is not working

    When I push the F6 key on the keyboard to light up my keyboard, the light graphic comes up on the screen but it does not light my keyboard up and the graphic has the circle with the forward slash through as if it prohibited.  Did I unintentionally disable that key in some way?

    What happens if you try it in a dark place?

  • Keyboard @ key is not working anymore

    From the keyboard the "@" key is not working anymore.
    I have the Laptop already 6 months and it allways worked fine, what could this be???

    which keyboard format did you set in the language?
    Regards,
    Jin Li
    May this year, be the year of 'DO'!
    I am a volunteer, and not a paid staff of Lenovo or Microsoft

  • Numeric Keys and some other keys are not working

    Hi,
    I am having T60 2613 HNU model, ,the problem i am facing issue in keyboard.
    following key are not working
    numeric keys are not working
    end key is not working
    left arrow is not woking
    working keys are as follows
    5,6 is working
    all alphabet keys are working
    I have even updated the bios also not working, I went to bios and made to load default value. my problem is not solved
    i try to remove the xp and tried to go for Fedora 12, there also i am facing the same problem.
    Do any body have solution of this. , please help me.

    http://www-307.ibm.com/pc/support/site.wss/document.do?sitestyle=lenovo&lndocid=MIGR-62911
    run the above software. 
    Regards,
    Jin Li
    May this year, be the year of 'DO'!
    I am a volunteer, and not a paid staff of Lenovo or Microsoft

  • I cleaned my wireless keyboard with a cloth that had a few sprays of windex on it, wiping back and forth and up and down on the keys. Now, various keys are not working. Is there a way to "reset" the keyboard to restore the keys?

    I cleaned my wireless keyboard with a cloth that had a few sprays of windex on it, wiping back and forth and up and down on the keys. Now, various keys are not working. Is there a way to "reset" the keyboard to restore the keys?

    Thanks for replying (thorvsphoenix)
    The windex was sprayed on the cloth, not the keyboard. And only one or two pumps on a hand towel. No liquid seeped between the keys the towel was barely damp. You are saying the ammonia gas created the problem?
    I think It was more an issue of multiple keys being depressed at the same time that screwed up the configuration. That is why I need to "reboot" the keyboard.

  • Few keyboard keys are not working

    I am Using Mac 10.5.8
    Yesterday, when i made my laptop shut down, all the keys were working perefectly.
    Even when i started it today, for few minutes ie 5 minutes all the keys were working fine, But then i don't what happned suddenly.
    Pointer starts blinking.. Down arrow key was getting pressed itself.
    Later i restarted it, and found Right click on trackpad was not working, and all arrow keys along with right Command key are not working.
    Then i restarted it again, command keys started working, and up ,left & right arrow keys started working.
    I verified my disk, then i found right click started working.
    The only key was not working down arrow key.
    But after 30 minutes Right key stopped working and Right command key too
    Suggest me what should i do now, it seems more like some software problem in comparison to Keyboard hardware problem.

    Hey i guess that's not a good idea, Could you please let me know something about some hardware check/keyboard viewer.
    Anything like that ?

  • Hello, how much did you pay when some parts of the keyboard keys are not working properly due to accidental spilt of tea?

    I accidentally spilt a tea on the keyboard of my Macbook Air 11'. I managed to wipe the keyboard and saved my laptop. However, I noticed that the Spacebar, Shift and Command keys are not working as it should be. It's like something's stuck inside that makes these keys hard to press as usual. I refered this problem to Amsys, Berwick St London, as the reservations in Apple Stores are full. Do you have any idea how much is the cost for diagnosis and repair if ever?
    Please help.

    if you spilled a good bit of tea, its a serious problem, yes.
    it got inside, and will corode, and bad things will begin to happen.
    Liquid spills, why your MacBook chassis is a one-way valve for spills
    After a substantial spill many people will turn their notebook upside down and shake it, not only does this not work, but it spreads liquid havoc throughout your machine and makes things often as bad as possible.
    The keyboard itself acts like a one way valve in the case of a substantial liquid spill. While liquid pours into the bottom chassis easy, it does not come out easily at all, and in the case of any spill, most of it will not come out by turning it upside down. Disconnect all power and contact Apple for diagnostics and repair.
    Do not attempt to, after a spill, ‘dry out your MacBook’ and test it
    After a spill most people invariably try to “dry out” their notebook by various methods, including hair dryers and otherwise. This both does not work, and after a substantial spill of any magnitude, even if the liquid was water, residue is left behind.
    There are additionally many very tight places inside your notebook where liquids will linger for a very long time, and cause corrosion or worse.
    Immediately unplug your notebook and contact Apple for in shop diagnostics and parts replacement.
    In the case of very minor spills people will “dry out” their notebook and feel success that their notebook is working ok, however invariably in nearly all instances after 4-14 days an error / fault pops up and is usually followed by more.
    In case of a spill, damage estimates are impossible,.....anything can be fixed, without question.......the question is cost.
    contact Apple for in shop diagnostics and cost estimation ....possible parts replacement.  

  • Function keys do not work on new wireless keyboard

    Hello....my good friend just bought a new iMac G5 2.1 spotlight model computer and has had troubles with his new wireless keyboard in that all 16 function keys do not work at all. Got any ideas or is it just a defective keyboard? He bought this at my recommendation so i am trying to make it all work smoothly for him. Would appreciate a quick response as he has now had this mac for 2 weeks and we cannot figure out the problem. Thanks in advance for any and all help

    I have no issues using the Apple BT keyboard. All function keys that apply to the iPad work correctly; display brightness, iPod app control, etc.
    Use the most recent version of iOS and also iTunes on your computer. Try a reset. Press & hold the Power and Home buttons together for 10+ seconds, ignoring the red power-off slider, until you see the Apple logo.
    If that  does not work, then restore the iPad to it factory settings.

  • Keyboard keys are not working

    Im on mac OS X 10.6.8 several keyboard keys are not working. For instance the at symbol is not working or question mark and random other punctuation keys. The problem started after running some code from terminal to trun off mouse acceleration and then installing a plug-in to control more accurately the mouse funtions. Ive since uninstalled the plug in and disabled the adjustment in terminal. Ive checked all the normal keyboard funcions to make sure settings were not funky. When I log out and log in as a differnt user the problem with the keyboard is fixed. Someone please help
    Code I ran
    defaults write .GlobalPreferences com.apple.mouse.scaling -1
    http://www.lockergnome.com/osx/2011/07/13/how-to-turn-off-mouse-acceleration-in- os-x/

    Hello lindzthecreator,
    I suggest this part of the article named One or more keys on the keyboard do not respond found here http://support.apple.com/kb/ts1381
    Some keys don't work as expected
    From the Apple menu, choose System Preferences.
    From the View menu, choose Speech.
    Click the Text to Speech tab.
    If "Speak selected text when the key is pressed" is enabled, the key or key combination set to speak text cannot be used for other purposes or used to type text--click Set Key and change it to a less-commonly used key combination (try to use modifier keys such as Shift, Command, Option, and Control). Or, disable the "Speak selected text when the key is pressed" option.
    Click the Universal Access pane in System Preferences, click the Keyboard tab.
    Make sure that Slow Keys is turned off. With Slow Keys on, you need to press a key for a longer period of time for it to be recognized.
    In the Universal Access pane, click the Mouse tab, and make sure Mouse Keys is turned off. With Mouse Keys enabled, you cannot use the Numeric Keypad to enter numbers--instead the keypad moves the pointer (cursor). (There is an option to enable Mouse Keys with five presses of the Option key; you may want to turn that option off to avoid accidentally enabling it.) If Mouse Keys is enabled and you are using a keyboard with no numeric keypad or Num Lock function, see Unable to type while Mouse Keys is enabled in Mac OS X.
    If the function keys on the top row of the keyboard are not working as expected, see Mac OS X: How to change the behavior of function keys.
    If the issue persists, use Keyboard Viewer to help isolate the issue:
    Click the Language & Text pane (Mac OS X v10.6) or International pane (Mac OS X v10.5.8 or earlier) in System Preferences.
    Click the Input Sources tab (or Input Menu tab in Mac OS X 10.5.8 or earlier).
    Click the Keyboard & Character Viewer "On" checkbox to select it (click the Keyboard Viewer "On" checkbox in Mac OS X 10.5.8 or earlier).
    From the Input (flag) menu, choose Show Keyboard Viewer.
    If the keyboard is connected and detected by Mac OS X, the keys you type will highlight in the Keyboard Viewer window. Open TextEdit (or any text application), and try to type something using the keys that were previously not responding to see if they highlight in Keyboard Viewer.
    Start from the Mac OS X Install Disc, choose Terminal from the Utilities menu and test the keys which were previously not working.  If the keys work while started from the Install disc, then the keyboard itself is working correctly.  Use Mac OS X: How to troubleshoot a software issue to isolate the software issue that may be causing the keys to not respond.
    All the very best,
    Sterling

  • Control key (^) combined shortcuts does not work on mac book pro

    All shortcut combinations with the control key (^) do not work. I´m using Mac Book Pro 13 (late 2013) with Os X Mavericks 10.9.4

    The Logic Board is the Main system board. In the Windows world better known as the Motherboard. Except with Apple Mac computers the CPU and the GPU are Soldered to the logic board and if it is a Retina screen model the RAM is also Soldered to it.
    So replacing the Logic board is like replacing the compete system and costs accordingly.
    But there isn't much else you can do if you can't get that switch unstuck. Or just go without sound from the built in speakers. They aren't that good anyway.

  • The 1 key does not work on my wireless keyboard what do i do?

    Hi i had a usb keyboard for a while and the 1 key did not work but i could but use the numbers on the right side of the keyboard but we just got a wireless keyboard that doesnt have the other numbers on the right side so we cannot use the number 1. But it will work in the login window and on other accounts. i do not know how to fix it, what do i do?

    Hello:
    If I understand you, the number one key works some places, but not others.  This is true of the wireless KB as well as the old wired KB. 
    If I do understand, let us know.  If what is happening is different, post the correct information, please.
    Barry

Maybe you are looking for