RE [XERTE]: Catching key combinations
Julian Tenney
Julian.Tenney at nottingham.ac.uk
Wed Jan 12 09:53:50 GMT 2011
Apparently there is no Key.ALT constant. I can't get Flash itself to respond to a key press when ALT is held down.
What are you trying to do?
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: 11 January 2011 22:08
To: Xerte list
Subject: RE [XERTE]: Catching key combinations
Unfortunately, I can't get onKeyDown to fire if ALT is being held down.
================================================
Can't you wait for the key to go down and then do
If (Key.isDown(Key.ALT))
{
//alt and the key are down
}
Sent: 18 November 2010 18:11
To: Xerte list
Subject: [Xerte] Catching key combinations
I'm trying to keep some alignment in a piece I'm porting from another tool.
Some of the buttons use ALT+someKey as shortcuts.
The onKeyDown event doesn't pick up ALT.
Any ALTernatives?
Dave
________________________________
From: d_b_burnett at hotmail.com
To: xerte at lists.nottingham.ac.uk
Subject: Catching key combinations
Date: Thu, 18 Nov 2010 13:10:51 -0500
I'm trying to keep some alignment in a piece I'm porting from another tool.
Some of the buttons use ALT+someKey as shortcuts.
The onKeyDown event doesn't pick up ALT.
Any ALTernatives?
Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110112/d18d6bda/attachment.html
More information about the Xerte
mailing list