RE: [Flashcoders] Need help with Keyboard events

2007-02-05 Thread Steven Sacks | BLITZ
Pseudo-code:

obj.onKeyDown = function() {
if (Key.getAscii() == "C" && Key.isDown(Key.CONTROL)) {
// copy
}
};
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Need help with Keyboard events

2007-02-02 Thread Helmut Granda

Hey Mike,

This should get you started:

http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=2305.html



On 2/2/07, Mike Anderson <[EMAIL PROTECTED]> wrote:


Hello All,

Could any of you help me with the logic, required to capture a
 combination?

I am coming back from writing Flex Apps, to writing some Flash Apps.  In
Flex, this is a total piece of cake - but with Flash, it's not as easy
to capture Control-Key combinations.

Does anybody have any sample code, that demonstrates how to capture
keystroke combinations?

Thanks in advance for your help,

Mike
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com