Erase an image using your mouse in AS3
I recently had to create a simple Flash application that allowed the user to ‘erase’ an image using their mouse. I couldn’t find any examples of the exact effect I wanted, so I cobbled together my own. The effect I came up with is similar to using the eraser tool in Photoshop.
Click and drag your mouse on the image below to erase it. Press the reset button to start over.
Download FLA (includes code comments explaining how everything works)