Lock us up in the funny farm!

By trishiss
//add a blank movie clip to hold our gradient mask
var gradientMaskRef:DisplayObject = mc.addChild(new
    MovieClip());
gradientMaskRef.name = "gradientMask_mc";
//get a reference to the movie clip - cast the DisplayObject
    that is returned as a MovieClip
gradientMask_mc = mc.getChildByName("gradientMask_mc")
    as MovieClip;
//set the values for the gradient fill
  var fillType:String = GradientType.LINEAR;
  var colors:Array = [0xFFFFFF, 0xFFFFFF];
  var alphas:Array = [alpha, 0];
  var ratios:Array = [0, ratio];
  var spreadMethod:String = SpreadMethod.PAD;
  //create the Matrix and create the gradient box
  var matr:Matrix = new Matrix();

//set the height of the Matrix used for the gradient mask
  var matrixHeight:Number;
  if (reflectionDropoff<=0) {
     matrixHeight = bounds.height;
  } else {
     matrixHeight = bounds.height/reflectionDropoff;
  }
matr.createGradientBox(bounds.width, matrixHeight,
    (90/180)*Math.PI, 0, 0);//create the gradient fill
gradientMask_mc.graphics.beginGradientFill(fillType, colors,
    alphas, ratios, matr, spreadMethod);
gradientMask_mc.graphics.drawRect(0,0,bounds.width,bounds.height);

//position the mask over the reflection clip
gradientMask_mc.y = mc.getChildByName("reflectionBMP").y
    - mc.getChildByName("reflectionBMP").height;

 .............

Someone be so kind to remind me, why I’m coding in matrix language with a length that will put the Great wall of China to shame, all in all, to build a MOVIECLIP REFLECTION. Lord forbid they just hold a compact mirror on the sides of their screen monitor.

Only thing that will make me survive through this wretched day spent conversing in computer language is piece of hazelnut praline, or a caramel one, i can settle for sashimi. Oh crude, Jap lessons later, this is illegal, how can a girl like me be tackled with 2 complete foreign languages in a single day, can someone do something!

To top it off, NG YONG MING just dismissed my idea of presenting myself to him as a birthday present. Me, ME ok. Tricia Yong, a birthday present, complete with ribbons and wrapping paper. His reason?

“You’re overrated.”

Thats it, NG YONG MING. To show you how much im appreciating your ready rejection, Im personally inviting this representable figure to grace your birthday celebration. I hear (she) does special birthday services.

MAMA MIA

Hows that for your gag reflex? I can’t wait for your celebration dear mingming! I’m sure you’ll have a helluva time.

XOXO

3 Responses to “Lock us up in the funny farm!”

  1. Far...Han Says:

    Like totally! Overrated! Haha

  2. trishiss Says:

    farhan, better than you, R-rated.

  3. far..Han Says:

    What! Haven’t you heard! R-rated is the new hamsome! :)

Leave a Reply