RE [XERTE]: Catching key combinations

Julian Tenney Julian.Tenney at nottingham.ac.uk
Wed Jan 12 11:53:58 GMT 2011


Looks like it might be troublesome then. First thing will be try and get Flash to recognise what you want, then see if we can get Xerte to handle it as well,

J

From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: 12 January 2011 11:46
To: Xerte list
Subject: RE: RE [XERTE]: Catching key combinations


Replicate shortcut combinations used in another program.

________________________________
From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk
Date: Wed, 12 Jan 2011 09:53:50 +0000
Subject: RE: RE [XERTE]: Catching key combinations
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


This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.

_______________________________________________ Xerte mailing list Xerte at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110112/1c7620aa/attachment-0001.html


More information about the Xerte mailing list