Question:
I am creating (in Flash) an online environment to mimic Microsoft Word. The end user will be performing operations such as copying text. One of the ways to copy text is Crt/C.
I know the script for this is:
if (Key.isDown(17) and Key.isDown(67))
action here
BUT...when coded in this way, the user has to push ctrl and c at the exact same time or it won't work. Anyone know a way to first hit ctrl, and while holding that down, hit c - much like keyboard shortcuts really work?
Does it have something to do with the "while" action?
Thank you in advance!
Help is GREATLY appreciated
I am creating (in Flash) an online environment to mimic Microsoft Word. The end user will be performing operations such as copying text. One of the ways to copy text is Crt/C.
I know the script for this is:
if (Key.isDown(17) and Key.isDown(67))
action here
BUT...when coded in this way, the user has to push ctrl and c at the exact same time or it won't work. Anyone know a way to first hit ctrl, and while holding that down, hit c - much like keyboard shortcuts really work?
Does it have something to do with the "while" action?
Thank you in advance!
Help is GREATLY appreciated