Tuesday, 21 February 2012

SyntaxHighlighter

Wahey!!  Managed to figure out how to use SyntaxHighlighter.  This marvellous little do dad formats your code into a nice little code thingy :)

package {
 import flash.display.Sprite;
 import tests.BlitVSClip;
 
 /**
  * @author Charlie MacIsaac
  */
 
 [SWF(width = "800", height = "600", backgroundColor = "#000000", frameRate = "25")]
 
 public class Launcher extends Sprite {
  
  private var _memGauge : MemoryGauge;
  
  public function Launcher() : void {
   _memGauge = new MemoryGauge();
   
   runBlitVSClipTest();
  }
  
  private var _blitVSClipTest : BlitVSClip;
  private function runBlitVSClipTest() : void {
   _blitVSClipTest = new BlitVSClip(_memGauge, stage);
  }
 }
}

I used BloggerMint to figure out how to add it to the blog.  It's a really neat way of doing it!

So, finally got code showing and my project hosted, now I just need to follow through and create those downloads and link them here for the first few tests!  Should be fun :)

No comments:

Post a Comment