Blurring Remnant Veins

September 26th, 2006 by admin Posted in Macromedia Flash, Macromedia Products

Blurring Remnant Veins

Being able to continually lay down new vein segments without a performance penalty was great, but it quickly became cluttered and … well … ugly. I decided to use the new blur filter in Flash Player 8 to fade the older vein segments, so that newer veins would be more visible. This was very simple to implement. I set up a BlurFilter instance, then applied it to my BitmapData object in each frame. Over multiple applications of the filter, the blur becomes amplified and provides a nice soft backdrop to lay new veins over.

I show the code in the following color adjustment section.

  •  

  •    
  •