Tutorials, extensions, and source files for ActionScript, Flash, and other Adobe products.

 

Flash Source Files

Pixel Fountain

Posted January 12, 2006 by senocular

Version: Flash 8

Click your mouse to watch a shower of pixels emit from the bottom left of the movie. Their direction and speed is based on the position of the mouse. A glow filter is also applied to make them appear lighter. Each pixel is just that, a pixel created with the BitmapData class. All pixels at any given time are drawn to the background which fades over time giving the appearance of trails.