Adobe Dreamweaver Forums



Last 10 THreads :         Flash movie not working in html (Last Post : WEBDavid - Replies : 0 - Views : 1 )           »          load xml into mc symbols (Last Post : DigitalUprising - Replies : 0 - Views : 1 )           »          drop down menu over flash (Last Post : ltartisel - Replies : 2 - Views : 3 )           »          Flash-PHP Mail Form (Last Post : kglad - Replies : 3 - Views : 4 )           »          Flash Controls Not Displaying in Embedded File (Last Post : kglad - Replies : 5 - Views : 6 )           »          DW Flash Encoder (Last Post : wycn - Replies : 2 - Views : 3 )           »          navigation bar (Last Post : G. Rex - Replies : 5 - Views : 6 )           »          Adobe Flash 10 kills Wimpy (Last Post : ClubEXL.com - Replies : 82 - Views : 955 )           »          static sound (Last Post : 21n9 - Replies : 10 - Views : 11 )           »          flash loader reappears after movie plays (Last Post : kglad - Replies : 4 - Views : 5 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Other Macromedia/Adobe Products > Flex
 
Tags:



Reply
  #1 (permalink)  
Old 11-20-2008, 04:23 PM
tiaan.wessels
 
Posts: n/a
Diggs:
Default IExplorer v FireFox KeyboardEvent

Flash Plugin 10 reacts differently in IExplorer than in FireFox. When I press
ctrl and 1 to 9 in FireFox, I get the 1 to 9's codes in keyCode every time but
in IExplorer7 I only get 17 (that of ctrl) so basically my assumption to always
be able to use ctrl 1 to 9 for my app shortcuts falls away in IExplorer.
Strangely enough it works when I also press shift at the same time. Any clues ?
Thanks



Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 11-20-2008, 06:15 PM
-Hob
 
Posts: n/a
Diggs:
Default Re: IExplorer v FireFox KeyboardEvent

This has been an very frustrating problem for flash/flex developers. What
you're running into is a problem with the Flash Player ActiveX plugin. It's
not trapping keyboard events and properly stopping their propagation.

Any shortcuts that Internet Explorer uses for its own purposes cannot be
trapped used in Flex. Ctrl + 1-9 are used by IE, thus you can't use them. The
most common work-around for these problems is to listen for the key-up event
instead of key-down, as you will get notified properly of those events.

This workaround falls down, however, when the keyboard combination in IE
triggers the creation of some kind of new window. For instance, you can never
listen for ctrl + b because that's IE's shortcut for "Manage bookmarks." When
the keydown event fires, the manage bookmarks window pops up, and thus by the
time you've released the key, flex no longer has focus and you don't get
notified of either the key down or key up events. It's all very frustrating.

Hope that helps.

-Hob

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 12:37 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Cheap Car Insurance - Compare Motor Insurance
Endsleigh Car Insurance Natwest Car Insurance
More Than Car Insurance Norwich Union Car Insurance
Prudential Car Insurance Zurich Car Insurance
Inactive Reminders By Mished.co.uk