in Technology

MTCodeBeautifier

MTCodeBeautifier from Sean Voisen is now available from the MT Plugin Directory.

MTCodeBeautifier makes color-coding so easy. Let us check out an example below;

//This is a comment test
//Let us do a fade out
MovieClip.prototype.fadeOut = function()
{
 this.onEnterFrame = function()
 {
  if (this._alpha >= 0)
  {
   this._alpha = this._alpha - 5;
   trace("The alpha value is : " + this._alpha);
   } else {
    delete this.onEnterFrame;
   }
  };
 };