Skip to main content
Inspiring
February 19, 2008
Question

Escape keys

  • February 19, 2008
  • 2 replies
  • 436 views
I'm so sad that "Escape" + "s" + "t" doesn't gimme a stop anymore. I was wondering if someone could point me to a listing of all of the AS3 escape key commands. Is there something built into Flash that can give them to me?

Thanks,
Dan P.
This topic has been closed for replies.

2 replies

kglad
Community Expert
Community Expert
February 19, 2008
:

with (Escape + wt)
while (Escape + wh)
var (Escape + vr)
throw (Escape + th)
switch (Escape + sw)
return (Escape + rt)
if (Escape + if)
function (Escape + fn)
for..in (Escape + fi)
for (Escape + fr)
else (Escape + el)
do (Escape + do)
default (Escape + dt)
continue (Escape + co)
class (Escape + cl)
case (Escape + ce)
break (Escape + br)
// ( Escape + //)
Inspiring
February 20, 2008
Thanks a bunch!

Is that all of them? Anyone know if I can make my own custom ones?

Thanks,
Dan P.
kglad
Community Expert
Community Expert
February 19, 2008
are you looking for keyboard shortcuts?
Inspiring
February 19, 2008
Yup, but not for things like save, cut, paste, etc, but the escape codes for Actionscript that flash uses to automatically input code... for instance, if you're in AS2, and you type "Escape" then "s" + "t" it will automatically put in "stop();" for you. Other useful ones are "Escape" then "f" then "n" it will put in the standard function code with parens and curly brackets. Unfortunately, the stop one and a few others don't work for AS3 now :(

dp