00:00
00:00

AS: Escape Shortcut keys

3,312 Views | 12 Replies
New Topic Respond to this Topic

AS: Escape Shortcut keys 2005-09-02 20:09:49


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

Response to AS: Escape Shortcut keys 2005-09-02 20:11:14


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


website :: hugostonge.com

my job :: we+are

Response to AS: Escape Shortcut keys 2005-09-02 20:29:40


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

Response to AS: Escape Shortcut keys 2005-09-03 06:04:10


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

Response to AS: Escape Shortcut keys 2005-09-03 06:08:09


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

Response to AS: Escape Shortcut keys 2005-09-03 06:09:40


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

Thank you.


BBS Signature

Response to AS: Escape Shortcut keys 2005-09-03 06:45:44


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

Response to AS: Escape Shortcut keys 2005-09-03 06:47:41


how do I input parameters into them?

Response to AS: Escape Shortcut keys 2005-09-03 06:48:59


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

Response to AS: Escape Shortcut keys 2005-09-03 06:51:32


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

Response to AS: Escape Shortcut keys 2005-09-03 07:08:01


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

Response to AS: Escape Shortcut keys 2005-09-03 07:27:59


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

Response to AS: Escape Shortcut keys 2005-09-03 07:45:30


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