Home > FlashDevelop > Snippets : general

Snippets : general

November 29th, 2010 Leave a comment Go to comments

Because FlashDevelop is updating so fast, and becoming so good… my 5 of 6 most used snippets are deprecated. I am talking about my #privatVar, #publicVar, #privatFunction, #publicFunction and #functionVarPass snippets.

They now can be easely and much better generated just by using CTRL+SHIFT+1.(except the fact that they can’t detect int type, just Number type… but thats little discomfort in overall goodness.)

So I present you couple of my general purpose snippets. (I don’t set shortcuts to them.)

 

#getURL

navigateToURL(new URLRequest(“$$(url=http://www.google.com/)”), “_blank”);

#getHtmlVars

var htmlVars:Object = LoaderInfo(this.root.loaderInfo).parameters;

#paragrafSmall

//———————————-
//     $$(paragrafTitle)$(EntryPoint)
//———————————-

#paragrafBig

//————————————————————————–
//
//      $$(paragrafTitle=Time for class splitting?)$(EntryPoint)
//
//————————————————————————–

#stageSetup

this.stage.quality = $$(quality=StageQuality.BEST,StageQuality.HIGH,StageQuality.MEDIUM,StageQuality.LOW);
this.stage.scaleMode = $$(scaleMode=StageScaleMode.NO_SCALE,StageScaleMode.SHOW_ALL);
this.stage.align = StageAlign.TOP_LEFT;
this.stage.frameRate = $$(frameRate=25,60,30,20,12);
Categories: FlashDevelop Tags: ,
  1. No comments yet.
  1. No trackbacks yet.

MindScriptAct is Stephen Fry proof thanks to caching by WP Super Cache