Be a Supporter!

AS: Escape Shortcut keys

  • 2,804 Views
  • 13 Replies
New Topic Respond to this Topic
Rantzien
Rantzien
  • Member since: Jan. 27, 2005
  • Offline.
Forum Stats
Member
Level 15
Blank Slate
AS: Escape Shortcut keys 2005-09-02 20:09:49 Reply

AS: Main

Escape Shortcut keys

Ok, so I know this is not really AS, but I still find it very time-saving and good.

Escape shortcut keys are basically what it sounds like. You press [ Esc ], write two letters and a certain AS command is automatically written. Other than that it saves some time, it makes sure things are correctly spelled, formatted and such.

Note that you don’t have to press them at the same time, just in the right order.

For example, if I write [Esc] pl, then what you should do is:
Press and release Escape
Press and release p
Press and release l

There isn't much more to add to it, I'll just add a list of my favorites, and a full list.

My personal favorites

[Esc] st = stop();
[Esc] pl = play();
[Esc] gs = gotoAndStop();
[Esc] gp = gotoAndPlay();
[Esc] nf = nextFrame();
[Esc] pf = prevFrame();
[Esc] oc = onClipEvent () { }
[Esc] if = if () { }
[Esc] fr = for () { }
[Esc] fn = function () { }
[Esc] tr = trace();

Full list, except the ones listed above

[Esc] ns = nextScene();
[Esc] ps = nextFrame();
[Esc] ss = stopAllSounds();
[Esc] fs = fscommand();
[Esc] gu = getURL();
[Esc] lm = loadMovie();
[Esc] ln = loadMovieNum();
[Esc] lv = loadVariables();
[Esc] vn = loadVariablesNum();
[Esc] um = unloadMovie();
[Esc] un = unloadMovieNum();
[Esc] dm = duplicateMovieClip();
[Esc] on = on() {}
[Esc] rm = removeMovieClip();
[Esc] sp = setProperty();
[Esc] dr = startDrag();
[Esc] sd = stopDrag();
[Esc] pr = print();
[Esc] pb = printAsBitmap();
[Esc] bn = printAsBitmapNum();
[Esc] pn = printNum();
[Esc] cl = class { }
[Esc] ip = import
[Esc] it = interface { }
[Esc] br = break;
[Esc] ce = case condition :
[Esc] co = continue;
[Esc] dt = default :
[Esc] do = do { } while ();
[Esc] el = } else {
[Esc] ei = } else if () {
[Esc] sw = switch () { }
[Esc] wh = while () { }
[Esc] ch = catch () { }
[Esc] fy = finally { }
[Esc] th = throw ;
[Esc] ty = try { }
[Esc] rt = return ;
[Esc] de = delete ;
[Esc] sv = set ();
[Esc] vr = var ;
[Esc] wt = with () { }
[Esc] ic = #initclip
[Esc] ec = #endinitclip
[Esc] in = #include ""
[Esc] ca = call ();
[Esc] il = ifFrameLoaded () { }
[Esc] tt = tellTarget () { }
[Esc] tq = toggleHighQuality();

That's it, try it out! It might feel uncomfortable in the beginning, but it can eventually prove to be very useful!

I'll go to bed now, will answer possible questions tomorrow.


BBS Signature
gorman2001
gorman2001
  • Member since: Aug. 18, 2002
  • Offline.
Forum Stats
Member
Level 14
Blank Slate
Response to AS: Escape Shortcut keys 2005-09-02 20:11:14 Reply

it not really AS, but it's part of a Flash technique. Good job for finding those !


website :: hugostonge.com
my job :: we+are

Denvish
Denvish
  • Member since: Apr. 25, 2003
  • Offline.
Forum Stats
Member
Level 46
Blank Slate
Response to AS: Escape Shortcut keys 2005-09-02 20:29:40 Reply

Yeah, it's not actually an AS thread, so I've added it to the 'Useful Links' section of AS: Main, along with Flash: Shortcut Keys by -Unknown-


- - Flash - Music - Images - -

BBS Signature
Rantzien
Rantzien
  • Member since: Jan. 27, 2005
  • Offline.
Forum Stats
Member
Level 15
Blank Slate
Response to AS: Escape Shortcut keys 2005-09-03 06:04:10 Reply

At 9/2/05 08:11 PM, gorman2001 wrote: it not really AS, but it's part of a Flash technique. Good job for finding those !

Yeah, it's what I meant. Thanks!

At 9/2/05 08:29 PM, Denvish wrote: Yeah, it's not actually an AS thread, so I've added it to the 'Useful Links' section of AS: Main, along with Flash: Shortcut Keys by -Unknown-

Great!


BBS Signature
Gutya-alt
Gutya-alt
  • Member since: Sep. 3, 2005
  • Offline.
Forum Stats
Member
Level 06
Blank Slate
Response to AS: Escape Shortcut keys 2005-09-03 06:08:09 Reply

Cool, nice one Rantzien, theese will come in usefull!

Rantzien
Rantzien
  • Member since: Jan. 27, 2005
  • Offline.
Forum Stats
Member
Level 15
Blank Slate
Response to AS: Escape Shortcut keys 2005-09-03 06:09:40 Reply

At 9/3/05 06:08 AM, Gutya wrote: Cool, nice one Rantzien, theese will come in usefull!

Thank you.


BBS Signature
T-H
T-H
  • Member since: Jan. 7, 2004
  • Offline.
Forum Stats
Member
Level 40
Blank Slate
Response to AS: Escape Shortcut keys 2005-09-03 06:45:44 Reply

I dont't think I'm quite lazy enough to use these. But thanks for letting me know they are there.

Inglor
Inglor
  • Member since: Jan. 26, 2003
  • Offline.
Forum Stats
Member
Level 17
Blank Slate
Response to AS: Escape Shortcut keys 2005-09-03 06:47:41 Reply

how do I input parameters into them?

Rantzien
Rantzien
  • Member since: Jan. 27, 2005
  • Offline.
Forum Stats
Member
Level 15
Blank Slate
Response to AS: Escape Shortcut keys 2005-09-03 06:48:59 Reply

At 9/3/05 06:45 AM, T-H wrote: I dont't think I'm quite lazy enough to use these. But thanks for letting me know they are there.

^^
You're welcome.
I have to say though, that I was sceptical too when I noticed them, but later discovered that the feeling of not having to write all that "onClipEvent () { } every time was almost orgasmic.


BBS Signature
Rantzien
Rantzien
  • Member since: Jan. 27, 2005
  • Offline.
Forum Stats
Member
Level 15
Blank Slate
Response to AS: Escape Shortcut keys 2005-09-03 06:51:32 Reply

At 9/3/05 06:47 AM, Inglor wrote: how do I input parameters into them?

You'll have to write them yourself, but this method automatically moves the marker to the right place to do so. Also, if there is any drop-down menu availiable, for example the one that appears on writing "onClipEvent (", this will also open it up.


BBS Signature
dELtaluca
dELtaluca
  • Member since: Apr. 16, 2004
  • Offline.
Forum Stats
Member
Level 20
Blank Slate
Response to AS: Escape Shortcut keys 2005-09-03 07:08:01 Reply

i tihnk its more lazy not to use these lol, if you use these you have to be un-lazy enough to remember them


using ShamelessPlug; NapePhysicsEngine.advertise();

BBS Signature
Rantzien
Rantzien
  • Member since: Jan. 27, 2005
  • Offline.
Forum Stats
Member
Level 15
Blank Slate
Response to AS: Escape Shortcut keys 2005-09-03 07:27:59 Reply

At 9/3/05 07:08 AM, dELta_Luca wrote: i tihnk its more lazy not to use these lol, if you use these you have to be un-lazy enough to remember them

I just remember the ones that I use very often. For example, [Esc] oc and [Esc] fr is not very hard to remember =D


BBS Signature
Musician
Musician
  • Member since: May. 19, 2005
  • Offline.
Forum Stats
Member
Level 04
Blank Slate
Response to AS: Escape Shortcut keys 2005-09-03 07:40:40 Reply

HAHA [ESC]if??? that's fucking ironic


I have no country to fight for; my country is the earth; I am a citizen of the world
-- Eugene Debs

Rantzien
Rantzien
  • Member since: Jan. 27, 2005
  • Offline.
Forum Stats
Member
Level 15
Blank Slate
Response to AS: Escape Shortcut keys 2005-09-03 07:45:30 Reply

At 9/3/05 07:40 AM, MusicianEXE wrote: HAHA [ESC]if??? that's fucking ironic

Try it out, I find it nice! No kidding =P


BBS Signature