Mike T. Henderson

I make interactive things.

Categories:


More Mike:

AS3 Drawing App

March 25, 2008

This is a simple little drawing app class I call draw.Pencil. It allows full custom ability to define the stroke width, alpha, color, cap, scaleMode, and the ability to clear on each mouse press. Right now it only allows said parameters to be defined when the instance is created. The next version will allow for change in parameters to be made on the fly.

Continue Reading

1 Comment | Posted under Drawing API

AS3 Draw Circle Class Version 2

March 21, 2008

With version 2 of my draw.Circle class, I've included gradient control as well as more control on the stroke by adding parameters for pixelHinting, and scaleMode.

Continue Reading

1 Comment | Posted under Drawing API

AS3 Draw Circle Class

March 19, 2008

I've finally been getting around to re-writing all my ActionScript 2.0 classes in ActionScript 3.0. Since a lot of A.S. 3 is still a little foreign to me, I thought I'd start simple with re-creating my shape classes. First up, draw.Circle.

Continue Reading

0 Comments | Posted under Drawing API

Dynamic Card Flip Version 2

May 10, 2007

I never really like how I used external movie clips to create my shading on this card. This forced me to duplicate my animating card and use it as a Mask. This also resulted in a flickering in the gradient. I decided to do a little cleaning up of my code and use beginGradientFill() with the Drawing API to create the gradients of my shading. I noticed that by doing this I was able to get a much, much faster performance out of it. Also no flickering.

Continue Reading

2 Comments | Posted under Drawing API

Dynamic Card Flip

April 30, 2007

This is the card flip action I created for the side imaging microsite. The card is set up through Flash's Drawing API. I created it so the height, width, x, and y can be reset and new content can be loaded in with each flip. However, this example only shows the basics flip.

Continue Reading

0 Comments | Posted under Drawing API

AS 2.0 Drawing Class

March 13, 2007

It's been a while since I've posted anything. Thought I'd share a simple little drawing class that I made up. I created this so I could easily draw borders, mask, or just anytime I need a box.

Continue Reading

0 Comments | Posted under Drawing API