Note that there are some explanatory texts on larger screens.

plurals
  1. POTwo KeyboardEvent.KEY_DOWN events fired with wmode="transparent"
    primarykey
    data
    text
    <p>When I listen for key up and key down events with wmode="transparent", I receive 2 key down events followed by a single key up event for the following keys: F-keys, arrow keys, ins, del, home, end, page up, page down, pause, print screen, application key, windows key, and the equivalent numeric keypad keys. The other keys work normally. This is occurring with FF 3.5, but not with IE 6.</p> <p>Below is a simple Flex application that illustrates the problem if you run it with wmode="transparent".</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" applicationComplete="init()"&gt; &lt;mx:Script&gt; &lt;![CDATA[ import mx.controls.Label; private function init():void { stage.addEventListener(KeyboardEvent.KEY_DOWN, onKey); stage.addEventListener(KeyboardEvent.KEY_UP, onKey); } private function onKey(event:KeyboardEvent):void { var msg:Label = new Label(); msg.text = event.toString(); eventLog.addChildAt(msg, 0); } ]]&gt; &lt;/mx:Script&gt; &lt;mx:VBox width="100%" height="100%"&gt; &lt;mx:TextInput width="100%" text="Hello"/&gt; &lt;mx:VBox id="eventLog" width="100%" height="100%"/&gt; &lt;/mx:VBox&gt; &lt;/mx:Application&gt; </code></pre> <p>Our application requires wmode="transparent" and needs to handle both key up and key down events for the problematic keys, so I'm looking for the best way to solve this. What would be the best workaround for this problem? Is there some Flash player parameter that I can use to get this working? (FF configuration changes aren't viable for our application, but might be interesting for understanding the cause of this.)</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload